terraform: stand up private hg service in eu-central-1 (Bug 1548302)
authorConnor Sheehan <sheehan@mozilla.com>
Mon, 13 May 2019 11:01:14 -0400
changeset 7020 4588772ce1ae53cd7d94133b0dbd8a1b04f21df5
parent 7019 4c5a2e4076a4452fc16fbf1e04e2e6fe0b47092a
child 7021 09eac4fb3815671aab83a17ded64a2362f81babf
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 eu-central-1 (Bug 1548302)
terraform/main.tf
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -246,8 +246,23 @@ module "vpc-ue2" {
   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"
   }
 }
+
+# Configure AWS VPC in eu-central-1
+module "vpc-ec1" {
+  source = "./modules/aws-vpc"
+
+  cidr_block = "10.191.14.0/24"
+  metadata_bucket_name = "${aws_s3_bucket.metadata-bucket.bucket}"
+  mirror_ami = "${var.centos7_amis["eu-central-1"]}"
+  route53_zone_id = "${aws_route53_zone.hgzone.id}"
+  taskcluster_vpc_cidr = "10.147.0.0/16"
+
+  providers = {
+    aws = "aws.awsprovider-eu-central-1"
+  }
+}