aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-05-30 22:29:23 +0100
committerChristopher Baines <mail@cbaines.net>2019-05-30 22:29:23 +0100
commit71c32d6f986dd1794aa1015c2401638fd0475ca8 (patch)
tree1b5f21295d46e226a9d917edb08c97a959bd15e6
parent5323aebec565848c44163eb99192ea455d2ec2d2 (diff)
downloadgovuk-mini-environment-admin-71c32d6f986dd1794aa1015c2401638fd0475ca8.tar
govuk-mini-environment-admin-71c32d6f986dd1794aa1015c2401638fd0475ca8.tar.gz
Add a name for the builder AWS instance
-rw-r--r--terraform/aws_using_ami/backend/main.tf4
1 files changed, 4 insertions, 0 deletions
diff --git a/terraform/aws_using_ami/backend/main.tf b/terraform/aws_using_ami/backend/main.tf
index fead443..7025cad 100644
--- a/terraform/aws_using_ami/backend/main.tf
+++ b/terraform/aws_using_ami/backend/main.tf
@@ -286,6 +286,10 @@ resource "aws_spot_instance_request" "main" {
volume_size = "50"
}
+ tags = {
+ Name = "builder.${var.backend_slug}.govuk_mini_environment_admin"
+ }
+
provisioner "file" {
content = "${data.template_file.guix_daemon_service.rendered}"
destination = "/home/ubuntu/guix-daemon.service"