Basic terraform configuration for developing terraform google provider
-
Create a service account that terraform will use to apply the changes
-
Give these permissions to users that will use the SA and the SA itself
- Owner
- Service Account Token Creator
-
From this point you should be able to perform terraform deployments
- Look into
variables.tf
andterraform.tfvars
and fill in all the placeholder values - terraform init
- terraform plan
- terraform apply
- If all permissions are done correctly this should create a single compute VM