Looker's IP addresses, as per their documentation.
This module supports all 3 modes of hosting:
- Legacy AWS
- Next generation GCP
- Next generation EKS
- Microsoft Azure
Please make sure to read the Looker documentation before you start using this module.
module "looker-ips" {
source = "captn3m0/looker-ips/data"
version = "v3.0.0"
}
resource "aws_security_group_rule" "allow_all_from_looker_aws_us" {
type = "ingress"
from_port = 0
to_port = 443
protocol = "tcp"
cidr_blocks = ["${module.looker-ips.us_cidr}"]
security_group_id = "sg-123456"
}
- All output variables are lists.
- For instances hosted on "Legacy AWS hosting" is based on 2 letter ISO country codes and common continent codes.
- For instances hosted on GCP, the corresponding region codes are used.
- For instances hosted on EKS, the AWS region code is prefixed with
eks-
. - For instances hosted on Microsoft Azure, the Azure region code is prefixed with
azure-
. - Every output variable is available in 2 formats - list of IP addresses, or list of CIDRs. The CIDRs are generated using a
/32
suffix on all IPs.
To pick the correct output variable, check the below and search for the corresponding term the variable description.
- Instances that are hosted on AWS and that were created before 07/07/2020. - Search for "AWS"
- 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. - For default-Looker-hosted instances on GCP. - Search for "GCP"
- 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.
Supports Terraform 0.11 and above.
Name | Description |
---|---|
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 |
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 |
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 |
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 |
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 |
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 |
sa | Legacy Hosting IP Addresses in South America for instances hosted on AWS that were created before 07/07/2020 |
sa_cidr | Legacy Hosting CIDR in South America 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 |
aws_cidr | Legacy Hosting CIDR for all for instances hosted on AWS that were created before 07/07/2020 |
gcp_us_east1_ips | IP addresses for instances hosted on GCP (South Carolina / us-east1) |
gcp_us_east1_cidr | CIDRs for instances hosted on GCP (South Carolina / us-east1) |
gcp_us_east4_ips | IP addresses for instances hosted on GCP (Northern Virginia / us-east4) |
gcp_us_east4_cidr | CIDRs for instances hosted on GCP (Northern Virginia / us-east4) |
gcp_us_central1_ips | IP addresses for instances hosted on GCP (Iowa / us-central1) |
gcp_us_central1_cidr | CIDRs for instances hosted on GCP (Iowa / us-central1) |
gcp_us_west1_ips | IP addresses for instances hosted on GCP (Oregon / us-west1) |
gcp_us_west1_cidr | CIDRs for instances hosted on GCP (Oregon / us-west1) |
gcp_us_west2_ips | IP addresses for instances hosted on GCP (California / us-west2) |
gcp_us_west2_cidr | CIDRs for instances hosted on GCP (California / us-west2) |
gcp_northamerica_northeast1_ips | IP addresses for instances hosted on GCP (Québec / northamerica-northeast1) |
gcp_northamerica_northeast1_cidr | CIDRs for instances hosted on GCP (Québec / northamerica-northeast1) |
gcp_europe_west2_ips | IP addresses for instances hosted on GCP (England / europe-west2) |
gcp_europe_west2_cidr | CIDRs for instances hosted on GCP (England / europe-west2) |
gcp_europe_west3_ips | IP addresses for instances hosted on GCP (Frankfurt / europe-west3) |
gcp_europe_west3_cidr | CIDRs for instances hosted on GCP (Frankfurt / europe-west3) |
gcp_asia_south1_ips | IP addresses for instances hosted on GCP (Mumbai / asia-south1) |
gcp_asia_south1_cidr | CIDRs for instances hosted on GCP (Mumbai / asia-south1) |
gcp_europe_west4_ips | IP addresses for instances hosted on GCP (Eemshaven / europe-west4) |
gcp_europe_west4_cidr | CIDRs for instances hosted on GCP (Eemshaven / europe-west4) |
gcp_asia_east1_ips | IP addresses for instances hosted on GCP (Changhua County / asia-east1) |
gcp_asia_east1_cidr | CIDRs for instances hosted on GCP (Changhua County / asia-east1) |
gcp_asia_northeast1_ips | IP addresses for instances hosted on GCP (Tokyo / asia-northeast1) |
gcp_asia_northeast1_cidr | CIDRs for instances hosted on GCP (Tokyo / asia-northeast1) |
gcp_asia_southeast1_ips | IP addresses for instances hosted on GCP (Jurong West / asia-southeast1) |
gcp_asia_southeast1_cidr | CIDRs for instances hosted on GCP (Jurong West / asia-southeast1) |
gcp_asia_southeast2_ips | IP addresses for instances hosted on GCP (Jakarta / asia-southeast2) |
gcp_asia_southeast2_cidr | CIDRs for instances hosted on GCP (Jakarta / asia-southeast2) |
gcp_australia_southeast1_ips | IP addresses for instances hosted on GCP (Sydney / australia-southeast1) |
gcp_australia_southeast1_cidr | CIDRs for instances hosted on GCP (Sydney / australia-southeast1) |
gcp_southamerica_east1_ips | IP addresses for instances hosted on GCP (Osasco / São Paulo), Brazil) |
gcp_southamerica_east1_cidr | CIDRs for instances hosted on GCP (Osasco / São Paulo), Brazil) |
gcp_ips | IP addresses for instances hosted on GCP across all regions |
gcp_cidr | CIDRs for instances hosted on GCP across all regions |
eks_us_east_1 | IP addresses for instances hosted on Amazon EKS (US East / N. Virginia)) |
eks_us_east_1_cidr | CIDRs for instances hosted on Amazon EKS (US East / N. Virginia)) |
eks_ohio | IP addresses for instances hosted on Amazon EKS (US East / Ohio)) |
eks_ohio_cidr | CIDRs for instances hosted on Amazon EKS (US East / Ohio)) |
eks_oregon | IP addresses for instances hosted on Amazon EKS (US West / Oregon)) |
eks_oregon_cidr | CIDRs for instances hosted on Amazon EKS (US West / Oregon)) |
eks_central | IP addresses for instances hosted on Amazon EKS (Canada / Central)) |
eks_central_cidr | CIDRs for instances hosted on Amazon EKS (Canada / Central)) |
eks_ireland | IP addresses for instances hosted on Amazon EKS (Europe / Ireland)) |
eks_ireland_cidr | CIDRs for instances hosted on Amazon EKS (Europe / Ireland)) |
eks_frankfurt | IP addresses for instances hosted on Amazon EKS (Europe / Frankfurt)) |
eks_frankfurt_cidr | CIDRs for instances hosted on Amazon EKS (Europe / Frankfurt)) |
eks_tokyo | IP addresses for instances hosted on Amazon EKS (Asia Pacific / Tokyo)) |
eks_tokyo_cidr | CIDRs for instances hosted on Amazon EKS (Asia Pacific / Tokyo)) |
eks_sydney | IP addresses for instances hosted on Amazon EKS (Asia Pacific / Sydney)) |
eks_sydney_cidr | CIDRs for instances hosted on Amazon EKS (Asia Pacific / Sydney)) |
eks_sa_east_1 | IP addresses for instances hosted on Amazon EKS (South America / São Paulo)) |
eks_sa_east_1_cidr | CIDRs for instances hosted on Amazon EKS (South America / São Paulo)) |
eks_ips | IP addresses for instances hosted on Amazon EKS across all regions |
eks_cidr | CIDRs for instances hosted on Amazon EKS across all regions |
azure_us_east2_ips | IP addresses for instances hosted on Microsoft Azure (Virginia, USA / us-east2) |
azure_us_east2_cidr | CIDRs for instances hosted on Microsoft Azure (Virginia, USA / us-east2) |
azure_ips | IP addresses for instances hosted on Microsoft Azure across all regions |
azure_cidr | CIDRs for instances hosted on Microsoft Azure across all regions |
all_ips | Looker IP addresses everywhere (Legacy AWS + GCP + EKS + Azure) |
all_cidr | Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS + Azure) |
See CHANGELOG.md
Licensed under MIT. See nemo.mit-license.org for complete text.