diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f8d486..7add5a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [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 ### Added @@ -41,9 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release -[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...HEAD -[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...1.1.2 -[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.2...1.1.1 -[1.1.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.1...1.1.0 -[1.1.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.0...1.0.0 +[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.1...HEAD +[1.2.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.2.0...1.2.1 +[1.2.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.2...1.2.0 +[1.1.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/1.1.1...1.1.1 +[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 diff --git a/README.md b/README.md index 1494f46..d17dc63 100644 --- a/README.md +++ b/README.md @@ -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) | | au | Looker IP Addresses in Australia (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) | | ca | Looker IP Addresses in Canada (AWS only) | | ca\_cidr | Looker IP Addresses in Canada in CIDR (AWS only) | | de | Looker IP Addresses in Germany (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\_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) | diff --git a/locals.tf b/locals.tf index ff0b724..79fbdae 100644 --- a/locals.tf +++ b/locals.tf @@ -35,6 +35,12 @@ locals { "34.89.225.213" ] + # Singapore + + gcp-asia-southeast1 = [ + "35.185.184.54" + ] + us = [ "54.208.10.167", diff --git a/outputs.tf b/outputs.tf index c0e176e..f5bb036 100644 --- a/outputs.tf +++ b/outputs.tf @@ -81,7 +81,7 @@ output "sa_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( local.us, @@ -128,14 +128,21 @@ output "gcp_europe_west3_ips" { 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 output "gcp_us_east1_cidr" { description = "Looker CIDRs for instances hosted in GCP (South Carolina / us-east1)" value = ["${formatlist("%s/32", local.gcp-us-east1)}"] } -##### GCP CIDRs ##### - // Northern Virginia output "gcp_us_east4_cidr" { 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)}"] } +// 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 #### output "gcp_cidr" { @@ -171,6 +184,7 @@ output "gcp_cidr" { local.gcp-us-west1, local.gcp-europe-west2, local.gcp-europe-west3, + local.gcp-asia-southeast1, ))}" } @@ -179,13 +193,12 @@ output "gcp_ips" { description = "Looker IP addresses everywhere (GCP only)" value = "${concat( - local.us, - local.ca, - local.as, - local.ie, - local.de, - local.au, - local.sa, + local.gcp-us-east1, + local.gcp-us-east4, + local.gcp-us-west1, + local.gcp-europe-west2, + local.gcp-europe-west3, + local.gcp-asia-southeast1, )}" } @@ -200,6 +213,7 @@ output "all_cidr" { local.gcp-us-west1, local.gcp-europe-west2, local.gcp-europe-west3, + local.gcp-asia-southeast1, local.us, local.ca, local.as, @@ -220,6 +234,7 @@ output "all_ips" { local.gcp-us-west1, local.gcp-europe-west2, local.gcp-europe-west3, + local.gcp-asia-southeast1, local.us, local.ca, local.as,