Commit 45d8e18c authored by John Jarvis's avatar John Jarvis

Add temporary dns for gprd deploy until we have bastions.

parent d73da510
......@@ -842,6 +842,18 @@ module "alerts" {
#
##################################
####
# Temporary until the bastions are online
resource "aws_route53_record" "default" {
zone_id = "${var.gitlab_com_zone_id}"
name = "deploy.gprd.gitlab.com"
type = "A"
ttl = "300"
records = ["${module.deploy.instance_public_ips[0]}"]
}
####
module "deploy" {
bootstrap_version = 3
chef_provision = "${var.chef_provision}"
......
......@@ -5,3 +5,7 @@ output "instances_self_link" {
output "instance_groups_self_link" {
value = "${google_compute_instance_group.default.*.self_link}"
}
output "instance_public_ips" {
value = "${google_compute_instance.default.*.network_interface.0.access_config.0.assigned_nat_ip}"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment