terraform: stand up private hg service in us-east-1 (Bug 1548302)
authorConnor Sheehan <sheehan@mozilla.com>
Fri, 10 May 2019 13:18:43 -0400
changeset 7012 ca6924b0110d8f9b745afa16bbc43f59c5a20f7f
parent 7011 13f70d71ae3a90e43f3e1c481f2c68609e5bf226
child 7013 c5cdceaf4de3604803cf180f6949e1b8a78457a3
push id3491
push usercosheehan@mozilla.com
push dateMon, 13 May 2019 17:36:05 +0000
treeherderversion-control-tools@91edbf180dfb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1548302
terraform: stand up private hg service in us-east-1 (Bug 1548302)
terraform/main.tf
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -217,8 +217,22 @@ module "vpc-uw1" {
   route53_zone_id = "${aws_route53_zone.hgzone.id}"
   taskcluster_vpc_cidr = "10.143.0.0/16"
 
   providers = {
     aws = "aws.awsprovider-us-west-1"
   }
 }
 
+# Configure AWS VPC in us-east-1
+module "vpc-ue1" {
+  source = "./modules/aws-vpc"
+
+  cidr_block = "10.191.12.0/24"
+  metadata_bucket_name = "${aws_s3_bucket.metadata-bucket.bucket}"
+  mirror_ami = "${var.centos7_amis["us-east-1"]}"
+  route53_zone_id = "${aws_route53_zone.hgzone.id}"
+  taskcluster_vpc_cidr = "10.145.0.0/16"
+
+  providers = {
+    aws = "aws.awsprovider-us-east-1"
+  }
+}