-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mardizzone/POS-1058: run devnets behind VPN and Bastillion (#155)
* [WIP] dev: add: enable connection only when using VPN and Bastillion * [WIP] dev: chg: remove some logs * [WIP] dev: chg: use dns instead of IPs * [WIP] dev: chg: remove exit * [WIP] dev: chg: remove eips from cidr blocks * dev: chg: use dns ips as hosts ips * dev: chg: add check on files length while removing keystores * dev: chg: replace ips with dnsIps
- Loading branch information
1 parent
a1a75dc
commit f3d158e
Showing
11 changed files
with
53 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ test | |
.DS_Store | ||
devnet | ||
.env | ||
*.tfvars | ||
.terraform* | ||
terraform.tfstate | ||
terraform.tfstate.backup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 1. Copy this file to secret.tfvar (e.g. `cp secret.tfvars.example secret.tfvars`) | ||
# 2. Modify secret.tfvars by replacing the following with the list of IPs you want to allow | ||
# 3. For Polygon employees, these would be Bastillion and VPN IP addresses | ||
# 4. If you don't know what are Bastillion and VPN IP addresses, please ask to the PoS team (ref. [email protected]) | ||
# NOTE for Polygon employees: Do NOT use "0.0.0.0/0" for security reasons, otherwise the admin port will be open to the Internet! | ||
|
||
SG_CIDR_BLOCKS=["1.2.3.4/0", "5.6.7.8/0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters