mirror of
https://github.com/captn3m0/terraform-data-looker-ips.git
synced 2024-09-28 13:22:51 +00:00
Compare commits
31 Commits
Author | SHA1 | Date | |
---|---|---|---|
213a3ca2bb | |||
7bbd04a490 | |||
dae566c226 | |||
15af795883 | |||
fed66d8609 | |||
ae84da963b | |||
332fc394e7 | |||
b0cc10d21c | |||
6af6c88607 | |||
40fc3a5e2c | |||
780a95a037 | |||
9308f10f4b | |||
1429cc3f5f | |||
6f0c347d2a | |||
803354bb85 | |||
5a43f62218 | |||
e8d5743f44 | |||
3519dd9075 | |||
c52409154b | |||
f31e6053ab | |||
5817f9502b | |||
5bfc81cabe | |||
cbf8293bd8 | |||
3617dddb49 | |||
61797c7a01 | |||
30207db3f4 | |||
69c9801164 | |||
264b039ae0 | |||
4947f53faa | |||
bdf6236753 | |||
f22414007f |
3
.github/FUNDING.yml
vendored
Normal file
3
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ko_fi: captn3m0
|
||||||
|
liberapay: captn3m0
|
||||||
|
github: captn3m0
|
111
CHANGELOG.md
111
CHANGELOG.md
@ -7,6 +7,99 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased][unreleased]
|
## [Unreleased][unreleased]
|
||||||
|
|
||||||
|
## [3.0.0] - 2022-02-02
|
||||||
|
### Removed
|
||||||
|
- IPs/CIDRs for instances hosted on Amazon EKS in us-east-2 region (Ohio) have been removed.
|
||||||
|
|
||||||
|
## [2.0.9] - 2022-01-12
|
||||||
|
### Removed
|
||||||
|
- Removed a duplicate IP address from `gcp-europe-west2` (London)
|
||||||
|
|
||||||
|
## [2.0.8] - 2022-01-11
|
||||||
|
### Added
|
||||||
|
- 3 new IPs added to `gcp-us-east4` (Ashburn, Northern Virginia)
|
||||||
|
- 3 new IPs added to `gcp-us-central1` (Council Bluffs, Iowa)
|
||||||
|
- 4 new IPs added to `gcp-us-west1` (The Dalles, Oregon)
|
||||||
|
- 5 new IPs added to `gcp-europe-west2` (London, England, UK)
|
||||||
|
- 3 new IPs added to `gcp-europe-west3` (Frankfurt, Germany)
|
||||||
|
- 1 new IP added to `gcp-asia-northeast1` (Tokyo, Japan)
|
||||||
|
- 1 new IP added to `eks-eu-central-1` (Frankfurt)
|
||||||
|
|
||||||
|
## [2.0.7] - 2021-12-27
|
||||||
|
### Added
|
||||||
|
- 3 new IPs added to `gcp-us-west1`
|
||||||
|
|
||||||
|
## [2.0.6] - 2021-12-21
|
||||||
|
### Added
|
||||||
|
- 6 new IPs added to `eks-eu-central-1`
|
||||||
|
- 6 new IPs added to `eks-ca-central-1`
|
||||||
|
- New region: `eks-us-east-2` with 3 IPs
|
||||||
|
- 1 new IP for `gcp-europe-west3`
|
||||||
|
### Removed
|
||||||
|
- 1 IP removed from `gcp-us-east1` (`35.196.227.117`)
|
||||||
|
- 1 IP removed from `gcp-europe-west2` (`34.142.123.96`)
|
||||||
|
|
||||||
|
## [2.0.5] - 2021-11-23
|
||||||
|
### Removed
|
||||||
|
- All IPs that were added in [2.0.3]. These changes were reverted by Looker and were confirmed as a mistake.
|
||||||
|
### Added
|
||||||
|
- 1 IP added in `gcp-europe-west2`
|
||||||
|
- 1 IP that was removed in `gcp-us-east1` in [2.0.3] (`35.196.227.117`).
|
||||||
|
|
||||||
|
## [2.0.4] - 2021-11-07
|
||||||
|
### Removed
|
||||||
|
- 1 IP removed for `gcp-us-east1`
|
||||||
|
### Added
|
||||||
|
- 1 IP added for `gcp-us-west1`
|
||||||
|
- 1 IP added for `gcp-asia-northeast1`
|
||||||
|
- 6 IPs added for `eks-ca-central-1`
|
||||||
|
- 6 IPs added for `eks-eu-central-1`
|
||||||
|
|
||||||
|
## [2.0.3] - 2021-07-13
|
||||||
|
### Removed
|
||||||
|
- 1 IP removed for `gcp-us-west1`
|
||||||
|
### Added
|
||||||
|
- 1 IP added for `gcp-us-west1`
|
||||||
|
|
||||||
|
## [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`
|
||||||
|
|
||||||
|
## [2.0.0][2.0.0] - 2021-05-26
|
||||||
|
### Added
|
||||||
|
- GCP/`asia-south-1` (Mumbai, India)
|
||||||
|
### Removed
|
||||||
|
- Removed: `EKS-us-east-1` ("For the list of IP addresses to add to your allowlist for this region, contact Looker Support")
|
||||||
|
- Removed: `EKS-eu-west-1` ("For the list of IP addresses to add to your allowlist for this region, contact Looker Support")
|
||||||
|
|
||||||
|
## [1.4.0][1.4.0] - 2021-04-24
|
||||||
|
### Added
|
||||||
|
- 1 IP added for instances hosted on Microsoft Azure `us-east2` region.
|
||||||
|
|
||||||
|
## [1.3.8][1.3.8] - 2021-02-10
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- 3 IPs removed and 3 IPs added for instances hosted on Amazon EKS `us-east-1` region.
|
||||||
|
|
||||||
|
## [1.3.7][1.3.7] - 2020-12-24
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- 3 new IPs for the Europe (Ireland) (`eu-west-1`) Instances Hosted on Amazon Elastic Kubernetes Service (`eks-eu-west-1`)
|
||||||
|
|
||||||
|
## [1.3.6][1.3.6] - 2020-11-26
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- 12 IPs removed from various GCP and AWS zones.
|
||||||
|
|
||||||
|
## [1.3.5][1.3.5] - 2020-11-25
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- 2 IPs moved from Frankfurt (`europe-west3`) to Eemshaven (`europe-west4`)
|
||||||
|
|
||||||
## [1.3.4][1.3.4] - 2020-11-05
|
## [1.3.4][1.3.4] - 2020-11-05
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
@ -89,7 +182,23 @@ 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/v1.3.4...HEAD
|
[unreleased]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v3.0.0...HEAD
|
||||||
|
[3.0.0]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.9...v3.0.0
|
||||||
|
[2.0.9]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.8...v2.0.9
|
||||||
|
[2.0.8]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.7...v2.0.8
|
||||||
|
[2.0.7]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.6...v2.0.7
|
||||||
|
[2.0.6]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.5...v2.0.6
|
||||||
|
[2.0.5]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.4...v2.0.5
|
||||||
|
[2.0.4]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.3...v2.0.4
|
||||||
|
[2.0.3]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v2.0.2...v2.0.3
|
||||||
|
[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
|
||||||
|
[1.3.8]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.7...v1.3.8
|
||||||
|
[1.3.7]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.6...v1.3.7
|
||||||
|
[1.3.6]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.5...v1.3.6
|
||||||
|
[1.3.5]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.4...v1.3.5
|
||||||
[1.3.4]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.3...v1.3.4
|
[1.3.4]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.3...v1.3.4
|
||||||
[1.3.3]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.2...v1.3.3
|
[1.3.3]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.2...v1.3.3
|
||||||
[1.3.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.1...v1.3.2
|
[1.3.2]: https://github.com/captn3m0/terraform-data-looker-ips/compare/v1.3.1...v1.3.2
|
||||||
|
128
CODE-OF-CONDUCT.md
Normal file
128
CODE-OF-CONDUCT.md
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
# Contributor Covenant Code of Conduct
|
||||||
|
|
||||||
|
## Our Pledge
|
||||||
|
|
||||||
|
We as members, contributors, and leaders pledge to make participation in our
|
||||||
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
|
identity and expression, level of experience, education, socio-economic status,
|
||||||
|
nationality, personal appearance, race, religion, or sexual identity
|
||||||
|
and orientation.
|
||||||
|
|
||||||
|
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||||
|
diverse, inclusive, and healthy community.
|
||||||
|
|
||||||
|
## Our Standards
|
||||||
|
|
||||||
|
Examples of behavior that contributes to a positive environment for our
|
||||||
|
community include:
|
||||||
|
|
||||||
|
* Demonstrating empathy and kindness toward other people
|
||||||
|
* Being respectful of differing opinions, viewpoints, and experiences
|
||||||
|
* Giving and gracefully accepting constructive feedback
|
||||||
|
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||||
|
and learning from the experience
|
||||||
|
* Focusing on what is best not just for us as individuals, but for the
|
||||||
|
overall community
|
||||||
|
|
||||||
|
Examples of unacceptable behavior include:
|
||||||
|
|
||||||
|
* The use of sexualized language or imagery, and sexual attention or
|
||||||
|
advances of any kind
|
||||||
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||||
|
* Public or private harassment
|
||||||
|
* Publishing others' private information, such as a physical or email
|
||||||
|
address, without their explicit permission
|
||||||
|
* Other conduct which could reasonably be considered inappropriate in a
|
||||||
|
professional setting
|
||||||
|
|
||||||
|
## Enforcement Responsibilities
|
||||||
|
|
||||||
|
Community leaders are responsible for clarifying and enforcing our standards of
|
||||||
|
acceptable behavior and will take appropriate and fair corrective action in
|
||||||
|
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||||
|
or harmful.
|
||||||
|
|
||||||
|
Community leaders have the right and responsibility to remove, edit, or reject
|
||||||
|
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||||
|
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||||
|
decisions when appropriate.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
This Code of Conduct applies within all community spaces, and also applies when
|
||||||
|
an individual is officially representing the community in public spaces.
|
||||||
|
Examples of representing our community include using an official e-mail address,
|
||||||
|
posting via an official social media account, or acting as an appointed
|
||||||
|
representative at an online or offline event.
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
|
reported to the community leaders responsible for enforcement at
|
||||||
|
coc@captnemo.in.
|
||||||
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
reporter of any incident.
|
||||||
|
|
||||||
|
## Enforcement Guidelines
|
||||||
|
|
||||||
|
Community leaders will follow these Community Impact Guidelines in determining
|
||||||
|
the consequences for any action they deem in violation of this Code of Conduct:
|
||||||
|
|
||||||
|
### 1. Correction
|
||||||
|
|
||||||
|
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||||
|
unprofessional or unwelcome in the community.
|
||||||
|
|
||||||
|
**Consequence**: A private, written warning from community leaders, providing
|
||||||
|
clarity around the nature of the violation and an explanation of why the
|
||||||
|
behavior was inappropriate. A public apology may be requested.
|
||||||
|
|
||||||
|
### 2. Warning
|
||||||
|
|
||||||
|
**Community Impact**: A violation through a single incident or series
|
||||||
|
of actions.
|
||||||
|
|
||||||
|
**Consequence**: A warning with consequences for continued behavior. No
|
||||||
|
interaction with the people involved, including unsolicited interaction with
|
||||||
|
those enforcing the Code of Conduct, for a specified period of time. This
|
||||||
|
includes avoiding interactions in community spaces as well as external channels
|
||||||
|
like social media. Violating these terms may lead to a temporary or
|
||||||
|
permanent ban.
|
||||||
|
|
||||||
|
### 3. Temporary Ban
|
||||||
|
|
||||||
|
**Community Impact**: A serious violation of community standards, including
|
||||||
|
sustained inappropriate behavior.
|
||||||
|
|
||||||
|
**Consequence**: A temporary ban from any sort of interaction or public
|
||||||
|
communication with the community for a specified period of time. No public or
|
||||||
|
private interaction with the people involved, including unsolicited interaction
|
||||||
|
with those enforcing the Code of Conduct, is allowed during this period.
|
||||||
|
Violating these terms may lead to a permanent ban.
|
||||||
|
|
||||||
|
### 4. Permanent Ban
|
||||||
|
|
||||||
|
**Community Impact**: Demonstrating a pattern of violation of community
|
||||||
|
standards, including sustained inappropriate behavior, harassment of an
|
||||||
|
individual, or aggression toward or disparagement of classes of individuals.
|
||||||
|
|
||||||
|
**Consequence**: A permanent ban from any sort of public interaction within
|
||||||
|
the community.
|
||||||
|
|
||||||
|
## Attribution
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||||
|
version 2.0, available at
|
||||||
|
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||||
|
|
||||||
|
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||||
|
enforcement ladder](https://github.com/mozilla/diversity).
|
||||||
|
|
||||||
|
[homepage]: https://www.contributor-covenant.org
|
||||||
|
|
||||||
|
For answers to common questions about this code of conduct, see the FAQ at
|
||||||
|
https://www.contributor-covenant.org/faq. Translations are available at
|
||||||
|
https://www.contributor-covenant.org/translations.
|
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright 2020 Abhay Rana
|
Copyright 2021 Abhay Rana
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
80
README.md
80
README.md
@ -1,4 +1,4 @@
|
|||||||
# terraform-data-looker-ips
|
# terraform-data-looker-ips ![License:MIT](https://img.shields.io/badge/license-MIT-blue.svg) ![GitHub last commit](https://img.shields.io/github/last-commit/captn3m0/terraform-data-looker-ips) ![GitHub Release Date](https://img.shields.io/github/release-date/captn3m0/terraform-data-looker-ips) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/captn3m0/terraform-data-looker-ips)
|
||||||
|
|
||||||
Looker's IP addresses, as per [their documentation](https://docs.looker.com/setup-and-management/enabling-secure-db).
|
Looker's IP addresses, as per [their documentation](https://docs.looker.com/setup-and-management/enabling-secure-db).
|
||||||
|
|
||||||
@ -7,6 +7,7 @@ This module supports all 3 modes of hosting:
|
|||||||
- Legacy AWS
|
- Legacy AWS
|
||||||
- Next generation GCP
|
- Next generation GCP
|
||||||
- Next generation EKS
|
- Next generation EKS
|
||||||
|
- Microsoft Azure
|
||||||
|
|
||||||
Please make sure to read the Looker documentation before you start using this module.
|
Please make sure to read the Looker documentation before you start using this module.
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ Please make sure to read the Looker documentation before you start using this mo
|
|||||||
```hcl
|
```hcl
|
||||||
module "looker-ips" {
|
module "looker-ips" {
|
||||||
source = "captn3m0/looker-ips/data"
|
source = "captn3m0/looker-ips/data"
|
||||||
version = "1.3.4"
|
version = "v2.0.9"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_security_group_rule" "allow_all_from_looker_aws_us" {
|
resource "aws_security_group_rule" "allow_all_from_looker_aws_us" {
|
||||||
@ -31,41 +32,71 @@ resource "aws_security_group_rule" "allow_all_from_looker_aws_us" {
|
|||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
- All output variables are lists.
|
- All output variables are lists.
|
||||||
- For instances hosted in "Legacy AWS hosting" is based on 2 letter [ISO country codes][3166] and [common continent codes](https://datahub.io/core/continent-codes#readme).
|
- For instances hosted on "Legacy AWS hosting" is based on 2 letter [ISO country codes][3166] and [common continent codes](https://datahub.io/core/continent-codes#readme).
|
||||||
- For instances hosted in GCP, [the corresponding region codes are used](https://cloud.google.com/compute/docs/regions-zones).
|
- For instances hosted on GCP, [the corresponding region codes are used](https://cloud.google.com/compute/docs/regions-zones).
|
||||||
- For instances hosted in EKS, the AWS region code is prefixed with `eks-`.
|
- 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.
|
- 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.
|
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"
|
1. Instances that are hosted on AWS and that were 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"
|
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. If your instance is hosted on GCP - Search for GCP
|
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.
|
If you are unsure which region your instance is in, please reach out to Looker support.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
Supports Terraform 0.11 and above.
|
||||||
|
|
||||||
|
## Outputs
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
|------|-------------|
|
|------|-------------|
|
||||||
| all\_cidr | Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS) |
|
| all\_cidr | Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS + Azure) |
|
||||||
| all\_ips | Looker IP addresses everywhere (Legacy AWS + GCP + EKS) |
|
| 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 | 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 | 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 | 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\_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 | 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\_eu\_west\_1 | IP addresses for instances hosted on Amazon EKS in eu-west-1 region. |
|
|
||||||
| eks\_eu\_west\_1\_cidr | CIDRs for instances hosted on Amazon EKS in eks-eu-west-1 region |
|
|
||||||
| eks\_ips | IP addresses for instances hosted on Amazon EKS across all regions |
|
| 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 | 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\_east\_2 | IP addresses for instances hosted on Amazon EKS in us-east-2 region. |
|
||||||
|
| eks\_us\_east\_2\_cidr | CIDRs for instances hosted on Amazon EKS in us-east-2 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) |
|
| gcp\_asia\_northeast1\_cidr | CIDRs for instances hosted on GCP (Tokyo / asia-northeast1) |
|
||||||
| gcp\_asia\_northeast1\_ips | IP addresses for instances hosted on GCP (Tokyo / gcp-asia-northeast1) |
|
| gcp\_asia\_northeast1\_ips | IP addresses for instances hosted on GCP (Tokyo / gcp-asia-northeast1) |
|
||||||
| gcp\_asia\_southeast1\_cidr | CIDRs for instances hosted on GCP (South Carolina / us-east1) |
|
| gcp\_asia\_south1\_cidr | CIDRs for instances hosted on GCP (Mumbai / asia-south1) |
|
||||||
|
| gcp\_asia\_south\_1\_ips | IP addresses for instances hosted on GCP (Mumbai / asia-south1) |
|
||||||
|
| gcp\_asia\_southeast1\_cidr | CIDRs for instances hosted on GCP (Singapore / asia-southeast1) |
|
||||||
| gcp\_asia\_southeast1\_ips | IP addresses for instances hosted on GCP (Singapore / asia-southeast1) |
|
| gcp\_asia\_southeast1\_ips | IP addresses for instances hosted on GCP (Singapore / asia-southeast1) |
|
||||||
|
| gcp\_asia\_southeast2\_cidr | CIDRs for instances hosted on GCP (Jakarta / asia-southeast2) |
|
||||||
|
| gcp\_asia\_southeast2\_ips | IP addresses for instances hosted on GCP (Jakarta / asia-southeast2) |
|
||||||
| gcp\_australia\_southeast1\_cidr | CIDRs for instances hosted on GCP (Sydney / australia-southeast1) |
|
| gcp\_australia\_southeast1\_cidr | CIDRs for instances hosted on GCP (Sydney / australia-southeast1) |
|
||||||
| gcp\_australia\_southeast1\_ips | IP addresses for instances hosted on GCP (Sydney / australia-southeast1) |
|
| gcp\_australia\_southeast1\_ips | IP addresses for instances hosted on GCP (Sydney / australia-southeast1) |
|
||||||
| gcp\_cidr | IP addresses for instances hosted on GCP in any region. |
|
| gcp\_cidr | IP addresses for instances hosted on GCP in any region. |
|
||||||
@ -73,6 +104,8 @@ If you are unsure which region your instance is in, please reach out to Looker s
|
|||||||
| gcp\_europe\_west2\_ips | IP addresses for instances hosted on GCP (London / europe-west2) |
|
| gcp\_europe\_west2\_ips | IP addresses for instances hosted on GCP (London / europe-west2) |
|
||||||
| gcp\_europe\_west3\_cidr | CIDRs for instances hosted on GCP (Frankfurt / europe-west3) |
|
| gcp\_europe\_west3\_cidr | CIDRs for instances hosted on GCP (Frankfurt / europe-west3) |
|
||||||
| gcp\_europe\_west3\_ips | IP addresses for instances hosted on GCP (Frankfurt / europe-west3) |
|
| gcp\_europe\_west3\_ips | IP addresses for instances hosted on GCP (Frankfurt / europe-west3) |
|
||||||
|
| gcp\_europe\_west4\_cidr | CIDRs for instances hosted on GCP (Eemshaven / europe-west4) |
|
||||||
|
| gcp\_europe\_west4\_ips | IP addresses for instances hosted on GCP (Eemshaven / europe-west4) |
|
||||||
| gcp\_ips | Looker IP addresses everywhere (GCP only). |
|
| gcp\_ips | Looker IP addresses everywhere (GCP only). |
|
||||||
| gcp\_northamerica\_northeast1\_cidr | CIDRs for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1) |
|
| gcp\_northamerica\_northeast1\_cidr | CIDRs for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1) |
|
||||||
| gcp\_northamerica\_northeast1\_ips | IP addresses for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1) |
|
| gcp\_northamerica\_northeast1\_ips | IP addresses for instances hosted on GCP (Canada / Montreal / gcp-northamerica-northeast1) |
|
||||||
@ -86,16 +119,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\_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\_cidr | CIDRs for instances hosted on GCP (Oregon / us-west1) |
|
||||||
| gcp\_us\_west1\_ips | IP addresses 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 |
|
|
||||||
| 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 |
|
|
||||||
| 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 | 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 |
|
| 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 |
|
| sa | Legacy Hosting IP Addresses in South America for instances hosted on AWS that were created before 07/07/2020 |
|
||||||
@ -103,7 +126,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 | 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 |
|
| us\_cidr | Legacy Hosting CIDR in United States for instances hosted on AWS that were created before 07/07/2020 |
|
||||||
|
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
See [CHANGELOG.md](CHANGELOG.md)
|
See [CHANGELOG.md](CHANGELOG.md)
|
||||||
|
103
locals.tf
103
locals.tf
@ -1,10 +1,8 @@
|
|||||||
locals {
|
locals {
|
||||||
|
|
||||||
# South Carolina
|
# South Carolina
|
||||||
gcp-us-east1 = [
|
gcp-us-east1 = [
|
||||||
"35.196.243.26",
|
"35.196.243.26",
|
||||||
"35.196.36.95",
|
"35.196.36.95",
|
||||||
"35.196.227.117"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Northern Virginia
|
# Northern Virginia
|
||||||
@ -21,19 +19,23 @@ locals {
|
|||||||
"35.245.177.112",
|
"35.245.177.112",
|
||||||
"34.86.214.226",
|
"34.86.214.226",
|
||||||
"35.221.30.177",
|
"35.221.30.177",
|
||||||
"35.245.121.2"
|
"35.221.62.218",
|
||||||
|
"34.86.34.135",
|
||||||
|
"35.236.240.168",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Iowa
|
# Iowa
|
||||||
gcp-us-central1 = [
|
gcp-us-central1 = [
|
||||||
"34.70.246.244",
|
"34.70.246.244",
|
||||||
"34.72.125.23"
|
"34.69.207.176",
|
||||||
|
"34.70.128.74",
|
||||||
|
"35.239.118.197",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Oregon
|
# Oregon
|
||||||
gcp-us-west1 = [
|
gcp-us-west1 = [
|
||||||
"34.82.227.133",
|
"34.82.227.133",
|
||||||
"34.82.105.48",
|
"35.247.124.130",
|
||||||
"34.82.120.25",
|
"34.82.120.25",
|
||||||
"35.247.5.99",
|
"35.247.5.99",
|
||||||
"35.197.64.57",
|
"35.197.64.57",
|
||||||
@ -44,18 +46,22 @@ locals {
|
|||||||
"35.247.61.151",
|
"35.247.61.151",
|
||||||
"34.82.193.215",
|
"34.82.193.215",
|
||||||
"35.233.222.226",
|
"35.233.222.226",
|
||||||
"34.83.141.137",
|
"35.185.199.172",
|
||||||
"34.83.151.46",
|
"34.83.94.151",
|
||||||
"35.185.199.172"
|
"35.203.184.48",
|
||||||
|
"34.83.138.105",
|
||||||
|
"35.185.212.2",
|
||||||
|
"34.82.56.47",
|
||||||
|
"34.127.100.106",
|
||||||
|
"34.83.236.166",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Canada / Montreal
|
# Canada / Montreal
|
||||||
gcp-northamerica-northeast1 = [
|
gcp-northamerica-northeast1 = [
|
||||||
"35.203.16.100",
|
"35.203.16.100",
|
||||||
"35.203.92.116",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# London
|
# London, England, UK
|
||||||
gcp-europe-west2 = [
|
gcp-europe-west2 = [
|
||||||
"35.246.117.58",
|
"35.246.117.58",
|
||||||
"35.246.10.206",
|
"35.246.10.206",
|
||||||
@ -67,19 +73,33 @@ locals {
|
|||||||
"34.89.127.51",
|
"34.89.127.51",
|
||||||
"34.105.209.44",
|
"34.105.209.44",
|
||||||
"34.89.124.139",
|
"34.89.124.139",
|
||||||
"34.105.219.154"
|
"34.105.219.154",
|
||||||
|
"34.142.123.96",
|
||||||
|
"34.142.77.18",
|
||||||
|
"34.105.131.133",
|
||||||
|
"34.89.54.84",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Frankfurt
|
# Frankfurt, Germany
|
||||||
gcp-europe-west3 = [
|
gcp-europe-west3 = [
|
||||||
"34.89.161.120",
|
"34.89.161.120",
|
||||||
"34.89.225.213",
|
"35.198.128.126",
|
||||||
|
"34.159.224.187",
|
||||||
|
"34.159.10.59",
|
||||||
|
"34.159.72.77",
|
||||||
|
]
|
||||||
|
|
||||||
|
# Eemshaven, Netherlands
|
||||||
|
gcp-europe-west4 = [
|
||||||
"35.204.222.110",
|
"35.204.222.110",
|
||||||
"34.91.136.228"
|
]
|
||||||
|
|
||||||
|
# Mumbai, India
|
||||||
|
gcp-asia-south1 = [
|
||||||
|
"35.200.135.236",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Changhua County, Taiwan
|
# Changhua County, Taiwan
|
||||||
|
|
||||||
gcp-asia-east1 = [
|
gcp-asia-east1 = [
|
||||||
"104.199.206.209",
|
"104.199.206.209",
|
||||||
"34.80.173.212",
|
"34.80.173.212",
|
||||||
@ -89,12 +109,12 @@ locals {
|
|||||||
# Tokyo, Japan
|
# Tokyo, Japan
|
||||||
gcp-asia-northeast1 = [
|
gcp-asia-northeast1 = [
|
||||||
"34.84.255.194",
|
"34.84.255.194",
|
||||||
"35.243.85.184"
|
"35.221.107.211",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Singapore
|
# Singapore
|
||||||
gcp-asia-southeast1 = [
|
gcp-asia-southeast1 = [
|
||||||
"35.185.184.54"
|
"35.185.184.54",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Jakarta, Indonesia
|
# Jakarta, Indonesia
|
||||||
@ -107,13 +127,11 @@ locals {
|
|||||||
# Sydney
|
# Sydney
|
||||||
gcp-australia-southeast1 = [
|
gcp-australia-southeast1 = [
|
||||||
"35.189.54.47",
|
"35.189.54.47",
|
||||||
"35.189.25.55"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# São Paulo, Brazil
|
# São Paulo, Brazil
|
||||||
gcp-southamerica-east1 = [
|
gcp-southamerica-east1 = [
|
||||||
"35.199.102.40",
|
"35.199.102.40",
|
||||||
"35.199.99.1"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
us = [
|
us = [
|
||||||
@ -142,7 +160,6 @@ locals {
|
|||||||
de = [
|
de = [
|
||||||
"18.196.243.94",
|
"18.196.243.94",
|
||||||
"18.184.246.171",
|
"18.184.246.171",
|
||||||
"34.89.161.120",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
au = [
|
au = [
|
||||||
@ -156,54 +173,54 @@ locals {
|
|||||||
]
|
]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Use these IP addresses for all instances hosted on Amazon EKS
|
* Use these IP addresses for all instances hosted on Amazon EKS
|
||||||
that were created on or after 07/07/2020.
|
* that were created on or after 07/07/2020.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
eks-us-east-1 = [
|
eks-us-west-2 = [
|
||||||
"18.210.137.130",
|
"44.237.129.32",
|
||||||
"54.204.171.253",
|
"54.184.191.250",
|
||||||
"50.17.192.87",
|
"35.81.99.30",
|
||||||
"18.235.225.163",
|
|
||||||
"54.92.246.223",
|
|
||||||
"75.101.147.97",
|
|
||||||
"3.212.72.104",
|
|
||||||
"52.21.115.135",
|
|
||||||
"18.210.252.49",
|
|
||||||
]
|
]
|
||||||
eks-ca-central-1 = [
|
eks-ca-central-1 = [
|
||||||
"52.60.157.61",
|
"52.60.157.61",
|
||||||
"35.182.169.25",
|
"35.182.169.25",
|
||||||
"52.60.59.128",
|
"52.60.59.128",
|
||||||
|
"35.182.207.128",
|
||||||
|
"15.222.172.64",
|
||||||
|
"3.97.27.51",
|
||||||
|
"35.183.191.133",
|
||||||
|
"15.222.86.123",
|
||||||
|
"52.60.52.14",
|
||||||
]
|
]
|
||||||
|
|
||||||
eks-eu-west-1 = [
|
|
||||||
"52.210.85.110",
|
|
||||||
"52.30.198.163",
|
|
||||||
"34.249.159.112",
|
|
||||||
]
|
|
||||||
|
|
||||||
eks-eu-central-1 = [
|
eks-eu-central-1 = [
|
||||||
"18.157.231.108",
|
"18.157.231.108",
|
||||||
"18.157.207.33",
|
"18.157.207.33",
|
||||||
"18.157.64.198",
|
"18.157.64.198",
|
||||||
|
"18.198.116.133",
|
||||||
|
"3.121.148.178",
|
||||||
|
"3.126.54.154",
|
||||||
|
"18.193.187.100",
|
||||||
|
"18.196.108.86",
|
||||||
|
"18.198.157.149",
|
||||||
|
"18.193.187.100",
|
||||||
]
|
]
|
||||||
eks-ap-northeast-1 = [
|
eks-ap-northeast-1 = [
|
||||||
|
|
||||||
"54.250.91.57",
|
"54.250.91.57",
|
||||||
"13.112.30.110",
|
"13.112.30.110",
|
||||||
"54.92.76.241",
|
"54.92.76.241",
|
||||||
]
|
]
|
||||||
|
|
||||||
eks-ap-southeast-2 = [
|
eks-ap-southeast-2 = [
|
||||||
"13.238.132.174",
|
"13.238.132.174",
|
||||||
"3.105.238.71",
|
"3.105.238.71",
|
||||||
"3.105.113.36",
|
"3.105.113.36",
|
||||||
]
|
]
|
||||||
|
|
||||||
eks-sa-east-1 = [
|
eks-sa-east-1 = [
|
||||||
"54.232.58.181",
|
"54.232.58.181",
|
||||||
"54.232.58.98",
|
"54.232.58.98",
|
||||||
"177.71.134.208",
|
"177.71.134.208",
|
||||||
]
|
]
|
||||||
|
azure-us-east2 = [
|
||||||
|
"52.147.190.201",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
123
outputs.tf
123
outputs.tf
@ -112,7 +112,7 @@ output "gcp_us_east4_ips" {
|
|||||||
value = "${local.gcp-us-east4}"
|
value = "${local.gcp-us-east4}"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Northern Virginia
|
// Council Bluffs, Iowa, USA
|
||||||
output "gcp_us_central1_ips" {
|
output "gcp_us_central1_ips" {
|
||||||
description = "IP addresses for instances hosted on GCP (Iowa / gcp-us-central1)"
|
description = "IP addresses for instances hosted on GCP (Iowa / gcp-us-central1)"
|
||||||
value = "${local.gcp-us-central1}"
|
value = "${local.gcp-us-central1}"
|
||||||
@ -142,6 +142,18 @@ output "gcp_europe_west3_ips" {
|
|||||||
value = "${local.gcp-europe-west3}"
|
value = "${local.gcp-europe-west3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Eemshaven, Netherlands
|
||||||
|
output "gcp_europe_west4_ips" {
|
||||||
|
description = "IP addresses for instances hosted on GCP (Eemshaven / europe-west4)"
|
||||||
|
value = "${local.gcp-europe-west4}"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mumbai, India
|
||||||
|
output "gcp_asia_south_1_ips" {
|
||||||
|
description = "IP addresses for instances hosted on GCP (Mumbai / asia-south1)"
|
||||||
|
value = "${local.gcp-asia-south1}"
|
||||||
|
}
|
||||||
|
|
||||||
// Taiwan
|
// Taiwan
|
||||||
output "gcp_asia_east1_ips" {
|
output "gcp_asia_east1_ips" {
|
||||||
description = "IP addresses for instances hosted on GCP (Taiwan / asia-east1)"
|
description = "IP addresses for instances hosted on GCP (Taiwan / asia-east1)"
|
||||||
@ -225,7 +237,19 @@ output "gcp_europe_west3_cidr" {
|
|||||||
value = ["${formatlist("%s/32", local.gcp-europe-west3)}"]
|
value = ["${formatlist("%s/32", local.gcp-europe-west3)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
// Frankfurt
|
// Eemshaven, Netherlands
|
||||||
|
output "gcp_europe_west4_cidr" {
|
||||||
|
description = "CIDRs for instances hosted on GCP (Eemshaven / europe-west4)"
|
||||||
|
value = ["${formatlist("%s/32", local.gcp-europe-west4)}"]
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mumbai, India
|
||||||
|
output "gcp_asia_south1_cidr" {
|
||||||
|
description = "CIDRs for instances hosted on GCP (Mumbai / asia-south1)"
|
||||||
|
value = ["${formatlist("%s/32", local.gcp-asia-south1)}"]
|
||||||
|
}
|
||||||
|
|
||||||
|
// Taiwan
|
||||||
output "gcp_asia_east1_cidr" {
|
output "gcp_asia_east1_cidr" {
|
||||||
description = "CIDRs for instances hosted on GCP (Taiwan / asia-east1)"
|
description = "CIDRs for instances hosted on GCP (Taiwan / asia-east1)"
|
||||||
value = ["${formatlist("%s/32", local.gcp-asia-east1)}"]
|
value = ["${formatlist("%s/32", local.gcp-asia-east1)}"]
|
||||||
@ -274,6 +298,7 @@ output "gcp_cidr" {
|
|||||||
local.gcp-northamerica-northeast1,
|
local.gcp-northamerica-northeast1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-europe-west4,
|
||||||
local.gcp-asia-east1,
|
local.gcp-asia-east1,
|
||||||
local.gcp-asia-northeast1,
|
local.gcp-asia-northeast1,
|
||||||
local.gcp-asia-southeast2,
|
local.gcp-asia-southeast2,
|
||||||
@ -293,6 +318,7 @@ output "gcp_ips" {
|
|||||||
local.gcp-northamerica-northeast1,
|
local.gcp-northamerica-northeast1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-europe-west4,
|
||||||
local.gcp-asia-east1,
|
local.gcp-asia-east1,
|
||||||
local.gcp-asia-northeast1,
|
local.gcp-asia-northeast1,
|
||||||
local.gcp-asia-southeast1,
|
local.gcp-asia-southeast1,
|
||||||
@ -304,53 +330,63 @@ output "gcp_ips" {
|
|||||||
|
|
||||||
##### EKS Section Begins ####
|
##### 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" {
|
output "eks_ca_central_1" {
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in ca-central-1 region."
|
description = "IP addresses for instances hosted on Amazon EKS in ca-central-1 region."
|
||||||
value = "${local.eks-ca-central-1}"
|
value = "${local.eks-ca-central-1}"
|
||||||
}
|
}
|
||||||
output "eks_eu_west_1" {
|
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in eu-west-1 region."
|
|
||||||
value = "${local.eks-eu-west-1}"
|
|
||||||
}
|
|
||||||
output "eks_eu_central_1" {
|
output "eks_eu_central_1" {
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in eu-central-1 region."
|
description = "IP addresses for instances hosted on Amazon EKS in eu-central-1 region."
|
||||||
value = "${local.eks-eu-central-1}"
|
value = "${local.eks-eu-central-1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_ap_northeast_1" {
|
output "eks_ap_northeast_1" {
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in ap-northeast-1 region."
|
description = "IP addresses for instances hosted on Amazon EKS in ap-northeast-1 region."
|
||||||
value = "${local.eks-ap-northeast-1}"
|
value = "${local.eks-ap-northeast-1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_ap_southeast_2" {
|
output "eks_ap_southeast_2" {
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in ap-southeast-2 region."
|
description = "IP addresses for instances hosted on Amazon EKS in ap-southeast-2 region."
|
||||||
value = "${local.eks-ap-southeast-2}"
|
value = "${local.eks-ap-southeast-2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_sa_east_1" {
|
output "eks_sa_east_1" {
|
||||||
description = "IP addresses for instances hosted on Amazon EKS in sa-east-1 region."
|
description = "IP addresses for instances hosted on Amazon EKS in sa-east-1 region."
|
||||||
value = "${local.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" {
|
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)}"]
|
value = ["${formatlist("%s/32", local.eks-ca-central-1)}"]
|
||||||
}
|
}
|
||||||
output "eks_eu_west_1_cidr" {
|
|
||||||
description = "CIDRs for instances hosted on Amazon EKS in eks-eu-west-1 region"
|
|
||||||
value = ["${formatlist("%s/32", local.eks-eu-west-1)}"]
|
|
||||||
}
|
|
||||||
output "eks_eu_central_1_cidr" {
|
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)}"]
|
value = ["${formatlist("%s/32", local.eks-eu-central-1)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_ap_northeast_1_cidr" {
|
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)}"]
|
value = ["${formatlist("%s/32", local.eks-ap-northeast-1)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_ap_southeast_2_cidr" {
|
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)}"]
|
value = ["${formatlist("%s/32", local.eks-ap-southeast-2)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
output "eks_sa_east_1_cidr" {
|
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)}"]
|
value = ["${formatlist("%s/32", local.eks-sa-east-1)}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -358,9 +394,8 @@ output "eks_ips" {
|
|||||||
description = "IP addresses for instances hosted on Amazon EKS across all regions"
|
description = "IP addresses for instances hosted on Amazon EKS across all regions"
|
||||||
|
|
||||||
value = "${concat(
|
value = "${concat(
|
||||||
local.eks-us-east-1,
|
local.eks-us-west-2,
|
||||||
local.eks-ca-central-1,
|
local.eks-ca-central-1,
|
||||||
local.eks-eu-west-1,
|
|
||||||
local.eks-eu-central-1,
|
local.eks-eu-central-1,
|
||||||
local.eks-ap-northeast-1,
|
local.eks-ap-northeast-1,
|
||||||
local.eks-ap-southeast-2,
|
local.eks-ap-southeast-2,
|
||||||
@ -372,9 +407,8 @@ output "eks_cidr" {
|
|||||||
description = "CIDRs for instances hosted on Amazon EKS across all regions"
|
description = "CIDRs for instances hosted on Amazon EKS across all regions"
|
||||||
|
|
||||||
value = "${formatlist("%s/32", concat(
|
value = "${formatlist("%s/32", concat(
|
||||||
local.eks-us-east-1,
|
local.eks-us-west-2,
|
||||||
local.eks-ca-central-1,
|
local.eks-ca-central-1,
|
||||||
local.eks-eu-west-1,
|
|
||||||
local.eks-eu-central-1,
|
local.eks-eu-central-1,
|
||||||
local.eks-ap-northeast-1,
|
local.eks-ap-northeast-1,
|
||||||
local.eks-ap-southeast-2,
|
local.eks-ap-southeast-2,
|
||||||
@ -382,12 +416,45 @@ output "eks_cidr" {
|
|||||||
))}"
|
))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
##### Microsoft Azure IPs ####
|
||||||
|
|
||||||
|
// Virginia, USA
|
||||||
|
output "azure_us_east2_ips" {
|
||||||
|
description = "IP addresses for instances hosted on Microsoft Azure (Virginia, USA / azure-us-east2)"
|
||||||
|
value = "${local.azure-us-east2}"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
##### Combined AWS+GCP+EKS #####
|
##### Microsoft Azure CIDRs #####
|
||||||
|
|
||||||
|
// Virginia, USA
|
||||||
|
output "azure_us_east2_cidr" {
|
||||||
|
description = "CIDRs for instances hosted on Microsoft Azure (Virginia, USA / azure-us-east2)"
|
||||||
|
value = ["${formatlist("%s/32", local.azure-us-east2)}"]
|
||||||
|
}
|
||||||
|
|
||||||
|
##### Microsoft Azure Combined ####
|
||||||
|
|
||||||
|
output "azure_ips" {
|
||||||
|
description = "IP addresses for instances hosted on Microsoft Azure across all regions"
|
||||||
|
|
||||||
|
value = "${concat(
|
||||||
|
local.azure-us-east2,
|
||||||
|
)}"
|
||||||
|
}
|
||||||
|
|
||||||
|
output "azure_cidr" {
|
||||||
|
description = "CIDRs for instances hosted on Microsoft Azure across all regions"
|
||||||
|
|
||||||
|
value = "${formatlist("%s/32", concat(
|
||||||
|
local.azure-us-east2,
|
||||||
|
))}"
|
||||||
|
}
|
||||||
|
|
||||||
|
##### Combined AWS+GCP+EKS+Azure #####
|
||||||
|
|
||||||
output "all_cidr" {
|
output "all_cidr" {
|
||||||
description = "Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS)"
|
description = "Looker IP addresses everywhere in CIDR (Legacy + GCP + EKS + Azure)"
|
||||||
|
|
||||||
value = "${formatlist("%s/32", concat(
|
value = "${formatlist("%s/32", concat(
|
||||||
local.gcp-us-east1,
|
local.gcp-us-east1,
|
||||||
@ -397,6 +464,8 @@ output "all_cidr" {
|
|||||||
local.gcp-northamerica-northeast1,
|
local.gcp-northamerica-northeast1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-europe-west4,
|
||||||
|
local.gcp-asia-south1,
|
||||||
local.gcp-asia-northeast1,
|
local.gcp-asia-northeast1,
|
||||||
local.gcp-asia-southeast1,
|
local.gcp-asia-southeast1,
|
||||||
local.gcp-australia-southeast1,
|
local.gcp-australia-southeast1,
|
||||||
@ -408,18 +477,18 @@ output "all_cidr" {
|
|||||||
local.de,
|
local.de,
|
||||||
local.au,
|
local.au,
|
||||||
local.sa,
|
local.sa,
|
||||||
local.eks-us-east-1,
|
local.eks-us-west-2,
|
||||||
local.eks-ca-central-1,
|
local.eks-ca-central-1,
|
||||||
local.eks-eu-west-1,
|
|
||||||
local.eks-eu-central-1,
|
local.eks-eu-central-1,
|
||||||
local.eks-ap-northeast-1,
|
local.eks-ap-northeast-1,
|
||||||
local.eks-ap-southeast-2,
|
local.eks-ap-southeast-2,
|
||||||
local.eks-sa-east-1,
|
local.eks-sa-east-1,
|
||||||
|
local.azure-us-east2,
|
||||||
))}"
|
))}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "all_ips" {
|
output "all_ips" {
|
||||||
description = "Looker IP addresses everywhere (Legacy AWS + GCP + EKS)"
|
description = "Looker IP addresses everywhere (Legacy AWS + GCP + EKS + Azure)"
|
||||||
|
|
||||||
value = "${concat(
|
value = "${concat(
|
||||||
local.gcp-us-east1,
|
local.gcp-us-east1,
|
||||||
@ -429,6 +498,8 @@ output "all_ips" {
|
|||||||
local.gcp-northamerica-northeast1,
|
local.gcp-northamerica-northeast1,
|
||||||
local.gcp-europe-west2,
|
local.gcp-europe-west2,
|
||||||
local.gcp-europe-west3,
|
local.gcp-europe-west3,
|
||||||
|
local.gcp-europe-west4,
|
||||||
|
local.gcp-asia-south1,
|
||||||
local.gcp-asia-northeast1,
|
local.gcp-asia-northeast1,
|
||||||
local.gcp-asia-southeast1,
|
local.gcp-asia-southeast1,
|
||||||
local.gcp-australia-southeast1,
|
local.gcp-australia-southeast1,
|
||||||
@ -440,12 +511,12 @@ output "all_ips" {
|
|||||||
local.de,
|
local.de,
|
||||||
local.au,
|
local.au,
|
||||||
local.sa,
|
local.sa,
|
||||||
local.eks-us-east-1,
|
local.eks-us-west-2,
|
||||||
local.eks-ca-central-1,
|
local.eks-ca-central-1,
|
||||||
local.eks-eu-west-1,
|
|
||||||
local.eks-eu-central-1,
|
local.eks-eu-central-1,
|
||||||
local.eks-ap-northeast-1,
|
local.eks-ap-northeast-1,
|
||||||
local.eks-ap-southeast-2,
|
local.eks-ap-southeast-2,
|
||||||
local.eks-sa-east-1,
|
local.eks-sa-east-1,
|
||||||
|
local.azure-us-east2,
|
||||||
)}"
|
)}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user