This commit is contained in:
Nemo 2020-06-21 14:49:23 +05:30
parent ccb710ecda
commit 75765e925a
4 changed files with 37 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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",

View File

@ -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,