Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

CICD with Terraform on GCP and multiple environments

Hey everybody,

I‘m fairly new to Terraform and GCP but I do have a good tech understanding in general. 

I have two requirements:

- use GCP (cloud run, sql, secretmanager, dns)

- CICD with multiple environments 

 

so far I try to achieve this with Terraform with inconsistent results. I am able to create a project and provision a sql instance f.e. but handling all the IAM stuff is kind of a PITA and also reproducibility isn‘t reliable. Sometime things work sometimes they don‘t. 

so the idea is „just“ to have IaC and continuous deployments etc to reliably and predictably deliver…

maybe the approach with a dedicated project isn‘t ideal and I don‘t know the usual best practices yet…

 

so, any hints appreciated 🙂

3 REPLIES 3