-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Run revision already exists #5898
Cloud Run revision already exists #5898
Comments
|
Manually setting The revision name used to auto-update given a new configuration, I am not sure when it stopped doing so. |
@hectorj You are correct. In order to autogenerate the revision name, the We are working on a solution to toggle revision name autogeneration via an extra field. |
PR has been merged, and will likely be part of the We've added If you are receiving |
…ady existing. It was fixed by bumping up the provider version and setting autogenerate_revision_name = true on the cloud run service. More information here: hashicorp/terraform-provider-google#5898
…ady existing. It was fixed by bumping up the provider version and setting autogenerate_revision_name = true on the cloud run service. More information here: hashicorp/terraform-provider-google#5898
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v0.12.23
Affected Resource(s)
google_cloud_run_service
Terraform Configuration Files
Expected Behavior
I assumed that it would allow the latest revsion to be used unless told otherwise. Terraform has no control over the container revision and should just verify that the latest one is used.
Actual Behavior
Terraform errors out:
Error: Error updating Service "locations/europe-north1/namespaces/project-id/services/hello": googleapi: Error 409: Revision named 'hello-00005-raz' with different configuration already exists.
Steps to Reproduce
terraform init
terraform plan
terraform apply
Push new image to cloud run using Cloud Build
Redo 1-3
Important Factoids
Remote tfstate is located within GCP Cloud Storage
It uses a Terraform Service account running with Cloud Build CI/CD pipeline. It worked in that past, but since the code has been updated. It starts throwing this error listed above.
References
A few simular issues, but with different services.
#1214
#4394
The text was updated successfully, but these errors were encountered: