From 75765e925ae932e3edd27072fd02fbe747ba1365 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 21 Jun 2020 14:49:23 +0530 Subject: [PATCH] v1.2.3 --- CHANGELOG.md | 5 +++++ README.md | 7 ++++++- locals.tf | 7 +++++++ outputs.tf | 21 +++++++++++++++++++-- 4 files changed, 37 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f33a49..0074a84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.3][1.2.3] - 2020-06-21 + +- New Looker IP for GCP/Canada region +- Fixes output variable name for Sydney regions + ## [1.2.2][1.2.2] - 2020-06-13 ### Added diff --git a/README.md b/README.md index da2c71b..139d719 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ To decide which one you need to use, you will need to know: 1. Whether your instance is hosted in GCP or AWS? 2. Which region/country it is hosted in? + | Name | Description | |------|-------------| | all\_cidr | Looker IP addresses everywhere in CIDR | @@ -48,13 +49,16 @@ To decide which one you need to use, you will need to know: | de\_cidr | Looker IP Addresses in Germany in CIDR (AWS only) | | gcp\_asia\_southeast1\_cidr | Looker CIDRs for instances hosted in GCP (South Carolina / us-east1) | | gcp\_asia\_southeast1\_ips | Looker IPs for instances hosted in GCP (Singapore / asia-southeast1) | -| gcp\_australia\_southeast1 | Looker CIDRs for instances hosted in GCP (Sydney / australia-southeast1) | +| gcp\_australia\_southeast1\_cidr | Looker CIDRs for instances hosted in GCP (Sydney / australia-southeast1) | +| gcp\_australia\_southeast1\_ips | Looker IPs for instances hosted in GCP (Sydney / australia-southeast1) | | gcp\_cidr | Looker IP addresses everywhere in CIDR (GCP only) | | gcp\_europe\_west2\_cidr | Looker CIDRs for instances hosted in GCP (London / europe-west2) | | gcp\_europe\_west2\_ips | Looker IPs for instances hosted in GCP (London / europe-west2) | | gcp\_europe\_west3\_cidr | Looker CIDRs for instances hosted in GCP (Frankfurt / europe-west3) | | gcp\_europe\_west3\_ips | Looker IPs for instances hosted in GCP (Frankfurt / europe-west3) | | gcp\_ips | Looker IP addresses everywhere (GCP only) | +| gcp\_northamerica\_northeast1\_cidr | Looker CIDRs for instances hosted in GCP (Canada / Montreal / gcp-northamerica-northeast1) | +| gcp\_northamerica\_northeast1\_ips | Looker IPs for instances hosted in GCP (Canada / Montreal / gcp-northamerica-northeast1) | | gcp\_us\_east1\_cidr | Looker CIDRs for instances hosted in GCP (South Carolina / us-east1) | | gcp\_us\_east1\_ips | Looker IPs for instances hosted in GCP (South Carolina / us-east1) | | gcp\_us\_east4\_cidr | Looker CIDRs for instances hosted in GCP (Northern Virginia / us-east4) | @@ -68,6 +72,7 @@ To decide which one you need to use, you will need to know: | us | Looker IP Addresses in United States (AWS only) | | us\_cidr | Looker IP Addresses in United States in CIDR (AWS only) | + # Changelog See [CHANGELOG.md](CHANGELOG.md) diff --git a/locals.tf b/locals.tf index 82165d9..0675c8f 100644 --- a/locals.tf +++ b/locals.tf @@ -22,6 +22,13 @@ locals { "35.185.199.172", ] + # Canada / Montreal + + gcp-northamerica-northeast1 = [ + "35.203.16.100", + "35.203.92.116", + ] + # London gcp-europe-west2 = [ "35.246.117.58", diff --git a/outputs.tf b/outputs.tf index d768476..760ba56 100644 --- a/outputs.tf +++ b/outputs.tf @@ -116,6 +116,12 @@ output "gcp_us_west1_ips" { value = "${local.gcp-us-west1}" } +// Canada/Montreal +output "gcp_northamerica_northeast1_ips" { + description = "Looker IPs for instances hosted in GCP (Canada / Montreal / gcp-northamerica-northeast1)" + value = "${local.gcp-northamerica-northeast1}" +} + // London output "gcp_europe_west2_ips" { description = "Looker IPs for instances hosted in GCP (London / europe-west2)" @@ -135,7 +141,7 @@ output "gcp_asia_southeast1_ips" { } // Sydney -output "gcp_australia_southeast1" { +output "gcp_australia_southeast1_ips" { description = "Looker IPs for instances hosted in GCP (Sydney / australia-southeast1)" value = "${local.gcp-australia-southeast1}" } @@ -161,6 +167,13 @@ output "gcp_us_west1_cidr" { value = ["${formatlist("%s/32", local.gcp-us-west1)}"] } + +// Canada / Montreal +output "gcp_northamerica_northeast1_cidr" { + description = "Looker CIDRs for instances hosted in GCP (Canada / Montreal / gcp-northamerica-northeast1)" + value = ["${formatlist("%s/32", local.gcp-northamerica-northeast1)}"] +} + // London output "gcp_europe_west2_cidr" { description = "Looker CIDRs for instances hosted in GCP (London / europe-west2)" @@ -180,7 +193,7 @@ output "gcp_asia_southeast1_cidr" { } // Singapore -output "gcp_australia_southeast1" { +output "gcp_australia_southeast1_cidr" { description = "Looker CIDRs for instances hosted in GCP (Sydney / australia-southeast1)" value = ["${formatlist("%s/32", local.gcp-australia-southeast1)}"] } @@ -194,6 +207,7 @@ 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, @@ -209,6 +223,7 @@ 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, @@ -225,6 +240,7 @@ 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, @@ -247,6 +263,7 @@ 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,