aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-23 23:45:03 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-23 23:45:03 +0100
commita60b2982ad8b2a9966fb16aa251ea21a376d711a (patch)
tree83597ea8546ab8d97dcd30ca67252985e04f7574 /terraform/aws
parentd1f04420a1890705d4c4965d3f3296edee578920 (diff)
downloadgovuk-mini-environment-admin-a60b2982ad8b2a9966fb16aa251ea21a376d711a.tar
govuk-mini-environment-admin-a60b2982ad8b2a9966fb16aa251ea21a376d711a.tar.gz
Switch to using the public AWS domain of the build machine
Rather than the configured domain, as the corresponding SSH key shouldn't change for the AWS domain (whereas it does for the configured domain, if the machine changes).
Diffstat (limited to 'terraform/aws')
-rw-r--r--terraform/aws/backend/main.tf4
1 files changed, 4 insertions, 0 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index 24dd3d8..c3fcf60 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -352,6 +352,10 @@ output "guix_daemon_private_dns" {
value = "${aws_spot_instance_request.main.private_dns}"
}
+output "guix_daemon_public_dns" {
+ value = "${aws_spot_instance_request.main.public_dns}"
+}
+
output "efs_file_system_dns_name" {
value = "${aws_efs_file_system.main.dns_name}"
}