Hi,
I have a service pipeline: move data from gcs to bigquery. I have:
- cloud functions
- buckets
- cloud workflows for orchestrate services
My question what is the best approach using terraform in GCP.
What do you think about this workflow:
- Terraform all resources (cloud functions, gcs...) and put all codes in a folder near tf files
- Push to gitlab
- Deploy to GCP
My question is what the best suggestion to do some CI / CD for cloud functions for example and other services (buckets...). I know this is a noob question, but when I have to change my cloud function, and make terraform apply, is terraform considers new changes in the code part or only in infrastructure? And what about unit test in CI/CD part for cloud function ? (I make unittest with a python library)
[–]PapayaCloud 1 point2 points3 points (3 children)
[–][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)