[release] 2.0.2

This commit is contained in:
Nemo 2021-06-18 16:54:54 +05:30
parent 5a43f62218
commit 803354bb85
4 changed files with 68 additions and 44 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased][unreleased]
## [2.0.2] - 2021-06-18
### Added
- New Region for EKS: `us-west-2`
## [2.0.1] - 2021-06-11
### Added
- New IP for `gcp-us-east4`
@ -124,7 +128,8 @@ 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/v2.0.1...HEAD
[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.2...HEAD
[2.0.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.4.0...v2.0.0
[1.4.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.8...v1.4.0

View File

@ -40,35 +40,67 @@ resource "aws_security_group_rule" "allow_all_from_looker_aws_us" {
To pick the correct output variable, check the below and search for the corresponding term the variable description.
1. If your instance is hosted on AWS that was created before 07/07/2020 - Search for "AWS"
2. If your instance is hosted on EKS and was created after 07/0/72020 - Search for "EKS". If your instance is in EKS/`eu-west-1` or EKS/`us-east-1`, you will need to contact Looker support to get your IP range.
3. If your instance is hosted on GCP - Search for GCP
4. If your instance is hosted on Microsoft Azure - Search for Azure.
1. Instances that are hosted on AWS and that were created before 07/07/2020. - Search for "AWS"
2. Instances that are hosted on Amazon EKS. If your instance is in EKS/`eu-west-1` or EKS/`us-east-1`, you will need to contact Looker support to get your IP range.
3. For default-Looker-hosted instances on GCP. - Search for "GCP"
4. For instances is hosted on Microsoft Azure - Search for Azure.
If you are unsure which region your instance is in, please reach out to Looker support.
## Requirements
No requirements.
## Providers
No providers.
## Modules
No modules.
## Resources
No resources.
## Inputs
No inputs.
## Outputs
| Name | Description |
|------|-------------|
| all\_cidr | Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS + Azure) |
| all\_ips | Looker IP addresses everywhere (Legacy AWS + GCP + EKS + Azure) |
| as | Legacy Hosting IP Addresses in Asia for instances hosted on AWS that were created before 07/07/2020 |
| as\_cidr | Legacy Hosting CIDR in Asia for instances hosted on AWS that were created before 07/07/2020 |
| au | Legacy Hosting IP Addresses in Australia for instances hosted on AWS that were created before 07/07/2020 |
| au\_cidr | Legacy Hosting CIDR in Australia for instances hosted on AWS that were created before 07/07/2020 |
| aws\_cidr | Legacy Hosting CIDR for all for instances hosted on AWS that were created before 07/07/2020 |
| aws\_ips | Legacy Hosting IP addresses for instances hosted anywhere that were created before 07/07/2020 |
| azure\_cidr | CIDRs for instances hosted on Microsoft Azure across all regions |
| azure\_ips | IP addresses for instances hosted on Microsoft Azure across all regions |
| azure\_us\_east2\_cidr | CIDRs for instances hosted on Microsoft Azure (Virginia, USA / azure-us-east2) |
| azure\_us\_east2\_ips | IP addresses for instances hosted on Microsoft Azure (Virginia, USA / azure-us-east2) |
| ca | Legacy Hosting IP Addresses in Canada for instances hosted on AWS that were created before 07/07/2020 |
| ca\_cidr | Legacy Hosting CIDR in Canada for instances hosted on AWS that were created before 07/07/2020 |
| de | Legacy Hosting IP Addresses in Germany for instances hosted on AWS that were created before 07/07/2020 |
| de\_cidr | Legacy Hosting CIDR in Germany for instances hosted on AWS that were created before 07/07/2020 |
| eks\_ap\_northeast\_1 | IP addresses for instances hosted on Amazon EKS in ap-northeast-1 region. |
| eks\_ap\_northeast\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eks-ap-northeast-1 region |
| eks\_ap\_northeast\_1\_cidr | CIDRs for instances hosted on Amazon EKS in ap-northeast-1 region |
| eks\_ap\_southeast\_2 | IP addresses for instances hosted on Amazon EKS in ap-southeast-2 region. |
| eks\_ap\_southeast\_2\_cidr | CIDRs for instances hosted on Amazon EKS in eks-ap-southeast-2 region |
| eks\_ap\_southeast\_2\_cidr | CIDRs for instances hosted on Amazon EKS in ap-southeast-2 region |
| eks\_ca\_central\_1 | IP addresses for instances hosted on Amazon EKS in ca-central-1 region. |
| eks\_ca\_central\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eks-ca-central-1 region |
| eks\_ca\_central\_1\_cidr | CIDRs for instances hosted on Amazon EKS in ca-central-1 region |
| eks\_cidr | CIDRs for instances hosted on Amazon EKS across all regions |
| eks\_eu\_central\_1 | IP addresses for instances hosted on Amazon EKS in eu-central-1 region. |
| eks\_eu\_central\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eks-eu-central-1 region |
| eks\_eu\_central\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eu-central-1 region |
| eks\_ips | IP addresses for instances hosted on Amazon EKS across all regions |
| eks\_sa\_east\_1 | IP addresses for instances hosted on Amazon EKS in sa-east-1 region. |
| eks\_sa\_east\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eks-sa-east-1 region |
| eks\_sa\_east\_1\_cidr | CIDRs for instances hosted on Amazon EKS in sa-east-1 region |
| eks\_us\_west\_2 | IP addresses for instances hosted on Amazon EKS in us-west-2 region. |
| eks\_us\_west\_2\_cidr | CIDRs for instances hosted on Amazon EKS in us-west-2 region |
| gcp\_asia\_east1\_cidr | CIDRs for instances hosted on GCP (Taiwan / asia-east1) |
| gcp\_asia\_east1\_ips | IP addresses for instances hosted on GCP (Taiwan / asia-east1) |
| gcp\_asia\_northeast1\_cidr | CIDRs for instances hosted on GCP (Tokyo / asia-northeast1) |
@ -101,14 +133,6 @@ If you are unsure which region your instance is in, please reach out to Looker s
| gcp\_us\_east4\_ips | IP addresses for instances hosted on GCP (Northern Virginia / us-east4) |
| gcp\_us\_west1\_cidr | CIDRs for instances hosted on GCP (Oregon / us-west1) |
| gcp\_us\_west1\_ips | IP addresses for instances hosted on GCP (Oregon / us-west1) |
| as | Legacy Hosting IP Addresses in Asia for instances hosted on AWS that were created before 07/07/2020 |
| as\_cidr | Legacy Hosting CIDR in Asia for instances hosted on AWS that were created before 07/07/2020 |
| au | Legacy Hosting IP Addresses in Australia for instances hosted on AWS that were created before 07/07/2020 |
| au\_cidr | Legacy Hosting CIDR in Australia for instances hosted on AWS that were created before 07/07/2020 |
| ca | Legacy Hosting IP Addresses in Canada for instances hosted on AWS that were created before 07/07/2020 |
| ca\_cidr | Legacy Hosting CIDR in Canada for instances hosted on AWS that were created before 07/07/2020 |
| de | Legacy Hosting IP Addresses in Germany for instances hosted on AWS that were created before 07/07/2020 |
| de\_cidr | Legacy Hosting CIDR in Germany for instances hosted on AWS that were created before 07/07/2020 |
| ie | Legacy Hosting IP Addresses in Ireland for instances hosted on AWS that were created before 07/07/2020 |
| ie\_cidr | Legacy Hosting CIDR in Ireland for instances hosted on AWS that were created before 07/07/2020 |
| sa | Legacy Hosting IP Addresses in South America for instances hosted on AWS that were created before 07/07/2020 |
@ -116,7 +140,6 @@ If you are unsure which region your instance is in, please reach out to Looker s
| us | Legacy Hosting IP Addresses in United States for instances hosted on AWS that were created before 07/07/2020 |
| us\_cidr | Legacy Hosting CIDR in United States for instances hosted on AWS that were created before 07/07/2020 |
# Changelog
See [CHANGELOG.md](CHANGELOG.md)

View File

@ -157,16 +157,10 @@ locals {
* that were created on or after 07/07/2020.
*/
eks-us-east-1 = [
"18.210.137.130",
"54.204.171.253",
"50.17.192.87",
"18.235.225.163",
"54.92.246.223",
"75.101.147.97",
"52.55.239.166",
"52.86.109.68",
"54.159.176.199",
eks-us-west-2 = [
"44.237.129.32",
"54.184.191.250",
"35.81.99.30"
]
eks-ca-central-1 = [
@ -175,22 +169,12 @@ locals {
"52.60.59.128",
]
eks-eu-west-1 = [
"52.210.85.110",
"52.30.198.163",
"34.249.159.112",
"52.19.248.176",
"54.220.245.171",
"54.247.22.227",
]
eks-eu-central-1 = [
"18.157.231.108",
"18.157.207.33",
"18.157.64.198",
]
eks-ap-northeast-1 = [
"54.250.91.57",
"13.112.30.110",
"54.92.76.241",

View File

@ -330,6 +330,11 @@ output "gcp_ips" {
##### EKS Section Begins ####
output "eks_us_west_2" {
description = "IP addresses for instances hosted on Amazon EKS in us-west-2 region."
value = "${local.eks-us-west-2}"
}
output "eks_ca_central_1" {
description = "IP addresses for instances hosted on Amazon EKS in ca-central-1 region."
value = "${local.eks-ca-central-1}"
@ -355,28 +360,33 @@ output "eks_sa_east_1" {
value = "${local.eks-sa-east-1}"
}
output "eks_us_west_2_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in us-west-2 region"
value = ["${formatlist("%s/32", local.eks-us-west-2)}"]
}
output "eks_ca_central_1_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in eks-ca-central-1 region"
description = "CIDRs for instances hosted on Amazon EKS in ca-central-1 region"
value = ["${formatlist("%s/32", local.eks-ca-central-1)}"]
}
output "eks_eu_central_1_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in eks-eu-central-1 region"
description = "CIDRs for instances hosted on Amazon EKS in eu-central-1 region"
value = ["${formatlist("%s/32", local.eks-eu-central-1)}"]
}
output "eks_ap_northeast_1_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in eks-ap-northeast-1 region"
description = "CIDRs for instances hosted on Amazon EKS in ap-northeast-1 region"
value = ["${formatlist("%s/32", local.eks-ap-northeast-1)}"]
}
output "eks_ap_southeast_2_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in eks-ap-southeast-2 region"
description = "CIDRs for instances hosted on Amazon EKS in ap-southeast-2 region"
value = ["${formatlist("%s/32", local.eks-ap-southeast-2)}"]
}
output "eks_sa_east_1_cidr" {
description = "CIDRs for instances hosted on Amazon EKS in eks-sa-east-1 region"
description = "CIDRs for instances hosted on Amazon EKS in sa-east-1 region"
value = ["${formatlist("%s/32", local.eks-sa-east-1)}"]
}
@ -384,6 +394,7 @@ output "eks_ips" {
description = "IP addresses for instances hosted on Amazon EKS across all regions"
value = "${concat(
local.eks-us-west-2,
local.eks-ca-central-1,
local.eks-eu-central-1,
local.eks-ap-northeast-1,
@ -396,6 +407,7 @@ output "eks_cidr" {
description = "CIDRs for instances hosted on Amazon EKS across all regions"
value = "${formatlist("%s/32", concat(
local.eks-us-west-2,
local.eks-ca-central-1,
local.eks-eu-central-1,
local.eks-ap-northeast-1,