Terraform infrastructure as code with Google Cloud Platform services: Cloud DNS API, Compute Engine API and IAM API.
Create environment file.
touch terraform-with-gcp/infra/terraform.tfvars
# terraform-with-gcp/infra/terraform.tfvars
gcp_service_key = ""
gcp_project = ""
gcp_region = ""
Initialise terraform.
cd terraform-with-gcp/infra
terraform init
# View predeploy plan.
terraform plan
terraform apply
terraform destroy
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.