Adds gcp-singapore IP
This commit is contained in:
parent
4d935a4771
commit
00fd33b6a4
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.2.1][1.2.1] - 2020-05-15
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- New Looker IP for GCP/Singapore Region
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `gcp_ips` output was incorrect, didn't have GCP IPs.
|
||||||
|
|
||||||
## [1.2.0][1.2.0] - 2020-04-1
|
## [1.2.0][1.2.0] - 2020-04-1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -41,9 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Initial Release
|
- Initial Release
|
||||||
|
|
||||||
[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...HEAD
|
[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.1...HEAD
|
||||||
[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...1.1.2
|
[1.2.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...1.2.1
|
||||||
[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.2...1.1.1
|
[1.2.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.2...1.2.0
|
||||||
[1.1.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.1...1.1.0
|
[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.1...1.1.1
|
||||||
[1.1.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.0...1.0.0
|
[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.1...1.1.2
|
||||||
|
[1.1.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.0...1.1.1
|
||||||
|
[1.1.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.0.0...1.1.0
|
||||||
[1.0.0]: https://github.com/captn3m0/terraform-data-looker-ips/releases/tag/1.0.0
|
[1.0.0]: https://github.com/captn3m0/terraform-data-looker-ips/releases/tag/1.0.0
|
||||||
|
|
|
@ -40,12 +40,14 @@ To decide which one you need to use, you will need to know:
|
||||||
| as\_cidr | Looker IP Addresses in Asia in CIDR (AWS only) |
|
| as\_cidr | Looker IP Addresses in Asia in CIDR (AWS only) |
|
||||||
| au | Looker IP Addresses in Australia (AWS only) |
|
| au | Looker IP Addresses in Australia (AWS only) |
|
||||||
| au\_cidr | Looker IP Addresses in Australia in CIDR (AWS only) |
|
| au\_cidr | Looker IP Addresses in Australia in CIDR (AWS only) |
|
||||||
| aws\_cidr | Looker IP addresses everywhere in CIDR (AWS only) |
|
| aws\_cidr | Looker IP addresses for all AWS regions (CIDR format) |
|
||||||
| aws\_ips | Looker IP addresses everywhere (AWS only) |
|
| aws\_ips | Looker IP addresses everywhere (AWS only) |
|
||||||
| ca | Looker IP Addresses in Canada (AWS only) |
|
| ca | Looker IP Addresses in Canada (AWS only) |
|
||||||
| ca\_cidr | Looker IP Addresses in Canada in CIDR (AWS only) |
|
| ca\_cidr | Looker IP Addresses in Canada in CIDR (AWS only) |
|
||||||
| de | Looker IP Addresses in Germany (AWS only) |
|
| de | Looker IP Addresses in Germany (AWS only) |
|
||||||
| de\_cidr | Looker IP Addresses in Germany in CIDR (AWS only) |
|
| 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\_cidr | Looker IP addresses everywhere in CIDR (GCP only) |
|
| 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\_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\_west2\_ips | Looker IPs for instances hosted in GCP (London / europe-west2) |
|
||||||
|
|
|
@ -35,6 +35,12 @@ locals {
|
||||||
"34.89.225.213"
|
"34.89.225.213"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Singapore
|
||||||
|
|
||||||
|
gcp-asia-southeast1 = [
|
||||||
|
"35.185.184.54"
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
us = [
|
us = [
|
||||||
"54.208.10.167",
|
"54.208.10.167",
|
||||||
|
|
35
outputs.tf
35
outputs.tf
|
@ -81,7 +81,7 @@ output "sa_cidr" {
|
||||||
}
|
}
|
||||||
|
|
||||||
output "aws_cidr" {
|
output "aws_cidr" {
|
||||||
description = "Looker IP addresses everywhere in CIDR (AWS only)"
|
description = "Looker IP addresses for all AWS regions (CIDR format)"
|
||||||
|
|
||||||
value = "${formatlist("%s/32", concat(
|
value = "${formatlist("%s/32", concat(
|
||||||
local.us,
|
local.us,
|
||||||
|
@ -128,14 +128,21 @@ output "gcp_europe_west3_ips" {
|
||||||
value = "${local.gcp-europe-west3}"
|
value = "${local.gcp-europe-west3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Singapore
|
||||||
|
output "gcp_asia_southeast1_ips" {
|
||||||
|
description = "Looker IPs for instances hosted in GCP (Singapore / asia-southeast1)"
|
||||||
|
value = "${local.gcp-asia-southeast1}"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
##### GCP CIDRs #####
|
||||||
|
|
||||||
// South Carolina
|
// South Carolina
|
||||||
output "gcp_us_east1_cidr" {
|
output "gcp_us_east1_cidr" {
|
||||||
description = "Looker CIDRs for instances hosted in GCP (South Carolina / us-east1)"
|
description = "Looker CIDRs for instances hosted in GCP (South Carolina / us-east1)"
|
||||||
value = ["${formatlist("%s/32", local.gcp-us-east1)}"]
|
value = ["${formatlist("%s/32", local.gcp-us-east1)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
##### GCP CIDRs #####
|
|
||||||
|
|
||||||
// Northern Virginia
|
// Northern Virginia
|
||||||
output "gcp_us_east4_cidr" {
|
output "gcp_us_east4_cidr" {
|
||||||
description = "Looker CIDRs for instances hosted in GCP (Northern Virginia / us-east4)"
|
description = "Looker CIDRs for instances hosted in GCP (Northern Virginia / us-east4)"
|
||||||
|
@ -160,6 +167,12 @@ output "gcp_europe_west3_cidr" {
|
||||||
value = ["${formatlist("%s/32", local.gcp-europe-west3)}"]
|
value = ["${formatlist("%s/32", local.gcp-europe-west3)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Singapore
|
||||||
|
output "gcp_asia_southeast1_cidr" {
|
||||||
|
description = "Looker CIDRs for instances hosted in GCP (South Carolina / us-east1)"
|
||||||
|
value = ["${formatlist("%s/32", local.gcp-us-east1)}"]
|
||||||
|
}
|
||||||
|
|
||||||
##### GCP Common ####
|
##### GCP Common ####
|
||||||
|
|
||||||
output "gcp_cidr" {
|
output "gcp_cidr" {
|
||||||
|
@ -171,6 +184,7 @@ output "gcp_cidr" {
|
||||||
local.gcp-us-west1,
|
local.gcp-us-west1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-asia-southeast1,
|
||||||
))}"
|
))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,13 +193,12 @@ output "gcp_ips" {
|
||||||
description = "Looker IP addresses everywhere (GCP only)"
|
description = "Looker IP addresses everywhere (GCP only)"
|
||||||
|
|
||||||
value = "${concat(
|
value = "${concat(
|
||||||
local.us,
|
local.gcp-us-east1,
|
||||||
local.ca,
|
local.gcp-us-east4,
|
||||||
local.as,
|
local.gcp-us-west1,
|
||||||
local.ie,
|
local.gcp-europe-west2,
|
||||||
local.de,
|
local.gcp-europe-west3,
|
||||||
local.au,
|
local.gcp-asia-southeast1,
|
||||||
local.sa,
|
|
||||||
)}"
|
)}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,6 +213,7 @@ output "all_cidr" {
|
||||||
local.gcp-us-west1,
|
local.gcp-us-west1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-asia-southeast1,
|
||||||
local.us,
|
local.us,
|
||||||
local.ca,
|
local.ca,
|
||||||
local.as,
|
local.as,
|
||||||
|
@ -220,6 +234,7 @@ output "all_ips" {
|
||||||
local.gcp-us-west1,
|
local.gcp-us-west1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-asia-southeast1,
|
||||||
local.us,
|
local.us,
|
||||||
local.ca,
|
local.ca,
|
||||||
local.as,
|
local.as,
|
||||||
|
|
Loading…
Reference in New Issue