-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: add cloud nat and router (#503)
* added partner code for infrastructure, and updated dev code * added VPC network creation * changes to PR requests * added conditional to VPC creation and removed old partner code * partner: var names for easier onboard * minor * moved around variables to simplify workflow * address comments and change public image name * leave the -0 suffix so it's easier if they want to run multiple nodes * updated to configurable region * variablized zone * set default region to europe-west1 * updated backend config * update default subnet * added router and nat for public VM internet access * changed contract name * add back in -0 * added external IP address to outputs for easy identification * update firewall rule * fixed IP output --------- Co-authored-by: Xiangyi Zheng <xiangyi@near.org>
- Loading branch information
1 parent
994a455
commit f31e39f
Showing
5 changed files
with
24 additions
and
6 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
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,3 @@ | ||
output "node_public_ip" { | ||
value = google_compute_global_address.external_ips[*].address | ||
} |
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