-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- If an issue is assigned to the
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 -v
Terraform v1.2.3
on darwin_arm64
+ provider registry.terraform.io/chainguard-dev/ko v0.0.4
+ provider registry.terraform.io/hashicorp/google v4.47.0
+ provider registry.terraform.io/hashicorp/google-beta v4.47.0
...
Affected Resource(s)
- google_cloud_run_service
Terraform Configuration Files
This should affect virtually any Cloud Run service deployed through terraform.
Debug Output
N/A
Panic Output
N/A
Expected Behavior
terraform reconciles the service
Actual Behavior
After ~20 minutes it times out and prints an error with a 409 because the named revision already exists.
Steps to Reproduce
- Deploy a service via terraform,
- Edit it via the Console's editor (not yaml),
- Deploy the service again via terraform.
Important Factoids
The Knative resource model used by Cloud Run supports "bring your own revision name" where you can use spec.template.metadata.name
to name the revision that the Service will create. This is used by the Cloud Run console when edits are made.
If changes are made to the service without removing or updating this name, then things will fail to deploy.
cc @steren
References
b/272367711
k4leung4, nsmith5, steren, cpanato, mykhailo-kosiuk-telus and 45 more