GoogleCloudPlatform / terraform-google-cloud-run

Deploys apps to Cloud Run, along with option to map custom domain
https://registry.terraform.io/modules/GoogleCloudPlatform/cloud-run/google
Apache License 2.0
136 stars 87 forks source link

support for lifecycle ignore_changes #148

Closed julienbachmann closed 10 months ago

julienbachmann commented 1 year ago

It would be great to add support for ignore_changes on the image parameter.

This would allow to use this module to deploy a cloud run service with a default image and then to use a cloud build to do continuous deployment in this cloud run.

Now if we do that every terraform apply will want to reset to default image. So if we can specify to ignore changes on image parameters it would solve this problem (in this workflow). Terraform have a ignore_changes in lifecycle of resources so we can use this feature.

What do you think?

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

ravikyada commented 2 months ago

same issues I'm facing, null resources can make it possible from the main.tf