From c52409154bb5984ae647bdaf372c914d5a726d26 Mon Sep 17 00:00:00 2001 From: Nemo Date: Wed, 26 May 2021 11:56:00 +0530 Subject: [PATCH] IP updates --- locals.tf | 5 +++++ outputs.tf | 34 +++++++++++++++------------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/locals.tf b/locals.tf index 32469f9..3d15a2a 100644 --- a/locals.tf +++ b/locals.tf @@ -74,6 +74,11 @@ locals { "35.204.222.110", ] + # Mumbai, India + gcp-asia-south1 = [ + "35.200.135.236", + ] + # Changhua County, Taiwan gcp-asia-east1 = [ "104.199.206.209", diff --git a/outputs.tf b/outputs.tf index 21bca93..06e90ce 100644 --- a/outputs.tf +++ b/outputs.tf @@ -112,7 +112,7 @@ output "gcp_us_east4_ips" { value = "${local.gcp-us-east4}" } -// Northern Virginia +// Council Bluffs, Iowa, USA output "gcp_us_central1_ips" { description = "IP addresses for instances hosted on GCP (Iowa / gcp-us-central1)" value = "${local.gcp-us-central1}" @@ -148,6 +148,12 @@ output "gcp_europe_west4_ips" { value = "${local.gcp-europe-west4}" } +// Mumbai, India +output "gcp_asia_south_1_ips" { + description = "IP addresses for instances hosted on GCP (Mumbai / asia-south1)" + value = "${local.gcp-asia-south1}" +} + // Taiwan output "gcp_asia_east1_ips" { description = "IP addresses for instances hosted on GCP (Taiwan / asia-east1)" @@ -237,6 +243,12 @@ output "gcp_europe_west4_cidr" { value = ["${formatlist("%s/32", local.gcp-europe-west4)}"] } +// Mumbai, India +output "gcp_asia_south1_cidr" { + description = "CIDRs for instances hosted on GCP (Mumbai / asia-south1)" + value = ["${formatlist("%s/32", local.gcp-asia-south1)}"] +} + // Taiwan output "gcp_asia_east1_cidr" { description = "CIDRs for instances hosted on GCP (Taiwan / asia-east1)" @@ -323,11 +335,6 @@ output "eks_ca_central_1" { value = "${local.eks-ca-central-1}" } -output "eks_eu_west_1" { - description = "IP addresses for instances hosted on Amazon EKS in eu-west-1 region." - value = "${local.eks-eu-west-1}" -} - output "eks_eu_central_1" { description = "IP addresses for instances hosted on Amazon EKS in eu-central-1 region." value = "${local.eks-eu-central-1}" @@ -353,11 +360,6 @@ output "eks_ca_central_1_cidr" { value = ["${formatlist("%s/32", local.eks-ca-central-1)}"] } -output "eks_eu_west_1_cidr" { - description = "CIDRs for instances hosted on Amazon EKS in eks-eu-west-1 region" - value = ["${formatlist("%s/32", local.eks-eu-west-1)}"] -} - output "eks_eu_central_1_cidr" { description = "CIDRs for instances hosted on Amazon EKS in eks-eu-central-1 region" value = ["${formatlist("%s/32", local.eks-eu-central-1)}"] @@ -382,9 +384,7 @@ output "eks_ips" { description = "IP addresses for instances hosted on Amazon EKS across all regions" value = "${concat( - local.eks-us-east-1, local.eks-ca-central-1, - local.eks-eu-west-1, local.eks-eu-central-1, local.eks-ap-northeast-1, local.eks-ap-southeast-2, @@ -396,9 +396,7 @@ output "eks_cidr" { description = "CIDRs for instances hosted on Amazon EKS across all regions" value = "${formatlist("%s/32", concat( - local.eks-us-east-1, local.eks-ca-central-1, - local.eks-eu-west-1, local.eks-eu-central-1, local.eks-ap-northeast-1, local.eks-ap-southeast-2, @@ -455,6 +453,7 @@ output "all_cidr" { local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-europe-west4, + local.gcp-asia-south1, local.gcp-asia-northeast1, local.gcp-asia-southeast1, local.gcp-australia-southeast1, @@ -466,9 +465,7 @@ output "all_cidr" { local.de, local.au, local.sa, - local.eks-us-east-1, local.eks-ca-central-1, - local.eks-eu-west-1, local.eks-eu-central-1, local.eks-ap-northeast-1, local.eks-ap-southeast-2, @@ -489,6 +486,7 @@ output "all_ips" { local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-europe-west4, + local.gcp-asia-south1, local.gcp-asia-northeast1, local.gcp-asia-southeast1, local.gcp-australia-southeast1, @@ -500,9 +498,7 @@ output "all_ips" { local.de, local.au, local.sa, - local.eks-us-east-1, local.eks-ca-central-1, - local.eks-eu-west-1, local.eks-eu-central-1, local.eks-ap-northeast-1, local.eks-ap-southeast-2,