Terraform data lookup for Looker IP Ranges
Go to file
Nemo d5f0befb0b Adds Looker IP addresses for GCP-hosted instances 2020-04-21 15:55:53 +05:30
CHANGELOG.md Adds Looker IP addresses for GCP-hosted instances 2020-04-21 15:55:53 +05:30
LICENSE Initial commit 💥 2019-10-25 11:51:18 +05:30
README.md Adds Looker IP addresses for GCP-hosted instances 2020-04-21 15:55:53 +05:30
locals.tf Adds Looker IP addresses for GCP-hosted instances 2020-04-21 15:55:53 +05:30
main.tf Initial commit 💥 2019-10-25 11:51:18 +05:30
outputs.tf Adds Looker IP addresses for GCP-hosted instances 2020-04-21 15:55:53 +05:30
variables.tf Initial commit 💥 2019-10-25 11:51:18 +05:30

README.md

terraform-data-looker-ips

Looker's IP addresses, as per their documentation.

All network traffic from Looker will come from one of the following IP addresses, based on the host+region where your Looker instance is hosted. Please whitelist each of the IP addresses in the appropriate region listed below. These whitelist IP addresses also apply for SFTP and SMTP destinations. Starting April 2020, Looker-hosted instances are hosted on GCP by default.

Usage

module "looker-ips" {
  source  = "captn3m0/looker-ips/data"
  version = "1.2.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"
}

Outputs

All output variables are lists. The output names are based on 2 letter ISO country codes and common continent codes for instances hosted in AWS. For instances hosted in GCP, the corresponding region codes are used.

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
all_ips Looker IP addresses everywhere (both AWS and GCP)
as Looker IP Addresses in Asia (AWS only)
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_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_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_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)
gcp_us_east4_ips Looker IPs for instances hosted in GCP (Northern Virginia / us-east4)
gcp_us_west1_cidr Looker CIDRs for instances hosted in GCP (Oregon / us-west1)
gcp_us_west1_ips Looker IPs for instances hosted in GCP (Oregon / us-west1)
ie Looker IP Addresses in Ireland (AWS only)
ie_cidr Looker IP Addresses in Ireland in CIDR (AWS only)
sa Looker IP Addresses in South America (AWS only)
sa_cidr Looker IP Addresses in South America in CIDR (AWS only)
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

LICENSE

Licensed under MIT. See nemo.mit-license.org for complete text.