terraform: stand up private hg service in us-east-2 (Bug 1548302)
authorConnor Sheehan <sheehan@mozilla.com>
Mon, 13 May 2019 10:49:24 -0400
changeset 7015 e3dce3f0d26a812bebc2ed00f37457d1e4b18e60
parent 7014 91edbf180dfbbcf5e8b1fc0cb9886658d49452cd
child 7016 cbfd7f665c0fa1e474b9590b1c64c7feeb94fc25
push id3492
push usercosheehan@mozilla.com
push dateTue, 14 May 2019 14:31:56 +0000
treeherderversion-control-tools@663cd30b7a27 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1548302
terraform: stand up private hg service in us-east-2 (Bug 1548302)
terraform/main.tf
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -231,8 +231,23 @@ module "vpc-ue1" {
   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"
   }
 }
+
+# Configure AWS VPC in us-east-2
+module "vpc-ue2" {
+  source = "./modules/aws-vpc"
+
+  cidr_block = "10.191.13.0/24"
+  metadata_bucket_name = "${aws_s3_bucket.metadata-bucket.bucket}"
+  mirror_ami = "${var.centos7_amis["us-east-2"]}"
+  route53_zone_id = "${aws_route53_zone.hgzone.id}"
+  taskcluster_vpc_cidr = "10.146.0.0/16"
+
+  providers = {
+    aws = "aws.awsprovider-us-east-2"
+  }
+}