From 22dc5115d8e4f641e4522f286540b202dea28c64 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 12 Jul 2020 02:33:24 +0530 Subject: [PATCH] Removes Montreal and Sydney GCP regions They are no longer on the Looker website --- CHANGELOG.md | 8 ++++++++ locals.tf | 11 ----------- outputs.tf | 34 ---------------------------------- 3 files changed, 8 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47927f0..fe1688a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Removed +- Removes Montreal and Sydney GCP regions, as they are no longer on the [official list](https://docs.looker.com/setup-and-management/enabling-secure-db). + ## [1.3.0][1.3.0] - 2020-07-12 + +### Added - Adds support for new EKS hosting ## [1.2.3][1.2.3] - 2020-06-21 +### Added - New Looker IP for GCP/Canada region + +### Fixed - Fixes output variable name for Sydney regions ## [1.2.2][1.2.2] - 2020-06-13 diff --git a/locals.tf b/locals.tf index ce7510e..edb27e7 100644 --- a/locals.tf +++ b/locals.tf @@ -41,17 +41,6 @@ locals { "35.185.184.54" ] - # Canada / Montreal - gcp-northamerica-northeast1 = [ - "35.203.16.100", - "35.203.92.116", - ] - - # Sydney - gcp-australia-southeast1 = [ - "35.189.54.47" - ] - us = [ "54.208.10.167", "54.209.116.191", diff --git a/outputs.tf b/outputs.tf index 1f0a144..dba5343 100644 --- a/outputs.tf +++ b/outputs.tf @@ -116,12 +116,6 @@ output "gcp_us_west1_ips" { value = "${local.gcp-us-west1}" } -// Canada/Montreal -output "gcp_northamerica_northeast1_ips" { - description = "IP addresses for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1)" - value = "${local.gcp-northamerica-northeast1}" -} - // London output "gcp_europe_west2_ips" { description = "IP addresses for instances hosted on GCP (London / europe-west2)" @@ -140,13 +134,6 @@ output "gcp_asia_southeast1_ips" { value = "${local.gcp-asia-southeast1}" } -// Sydney -output "gcp_australia_southeast1_ips" { - description = "IP addresses for instances hosted on GCP (Sydney / australia-southeast1)" - value = "${local.gcp-australia-southeast1}" -} - - ##### GCP CIDRs ##### // South Carolina @@ -167,13 +154,6 @@ output "gcp_us_west1_cidr" { value = ["${formatlist("%s/32", local.gcp-us-west1)}"] } - -// Canada / Montreal -output "gcp_northamerica_northeast1_cidr" { - description = "CIDRs for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1)" - value = ["${formatlist("%s/32", local.gcp-northamerica-northeast1)}"] -} - // London output "gcp_europe_west2_cidr" { description = "CIDRs for instances hosted on GCP (London / europe-west2)" @@ -192,12 +172,6 @@ output "gcp_asia_southeast1_cidr" { value = ["${formatlist("%s/32", local.gcp-us-east1)}"] } -// Singapore -output "gcp_australia_southeast1_cidr" { - description = "CIDRs for instances hosted on GCP (Sydney / australia-southeast1)" - value = ["${formatlist("%s/32", local.gcp-australia-southeast1)}"] -} - ##### GCP Common #### output "gcp_cidr" { @@ -207,11 +181,9 @@ output "gcp_cidr" { local.gcp-us-east1, local.gcp-us-east4, local.gcp-us-west1, - local.gcp-northamerica-northeast1, local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-asia-southeast1, - local.gcp-australia-southeast1 ))}" } @@ -222,11 +194,9 @@ output "gcp_ips" { local.gcp-us-east1, local.gcp-us-east4, local.gcp-us-west1, - local.gcp-northamerica-northeast1, local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-asia-southeast1, - local.gcp-australia-southeast1 )}" } @@ -321,11 +291,9 @@ output "all_cidr" { local.gcp-us-east1, local.gcp-us-east4, local.gcp-us-west1, - local.gcp-northamerica-northeast1, local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-asia-southeast1, - local.gcp-australia-southeast1, local.us, local.ca, local.as, @@ -350,11 +318,9 @@ output "all_ips" { local.gcp-us-east1, local.gcp-us-east4, local.gcp-us-west1, - local.gcp-northamerica-northeast1, local.gcp-europe-west2, local.gcp-europe-west3, local.gcp-asia-southeast1, - local.gcp-australia-southeast1, local.us, local.ca, local.as,