terraform-google-cloud-network is our Terraform module that provides network infrastructure on Google Cloud, and that was developed following the infrastructure standard as code using Terraform.
Set the project ID from your Google Cloud project:
export PROJECT_ID=YOUR_PROJECT_ID
export TF_VAR_project=$PROJECT_ID
gcloud config set project $PROJECT_ID
gcloud auth application-default login
Initializing Terraform and applying it's settings:
terraform init
terraform apply
To clean:
make clean
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.