NOTE: This repo contains only the documentation for the private BoltsOps Pro repo code. Original file: https://github.com/boltopspro/terraform-google-network/blob/master/README.md The docs are publish so they are available for interested customers. For access to the source code, you must be a paying BoltOps Pro subscriber. If are interested, you can contact us at contact@boltops.com or https://www.boltops.com
Configure tfvars for the network stack.
app/stacks/network/tfvars
├── dev.tfvars
└── prod.tfvars
To deploy the network stack:
TS_ENV=dev terraspace up network
TS_ENV=prod terraspace up network
This creates the vpc with subnets for app, data, proxy tiers. Secondary ranges are created for for GKE networking. A Cloud NAT and Router is also created to allow VMs without external IPs to communicate to the internet. The VPC looks something like this:
