pulumi-gcp: Deploying new revisions of Cloud Run resources yields 409: Conflict
Deploying new revisions of Cloud Run resources is failing due to the GCP API giving an error response of 409: Conflict. This occurs whether or not the AutoGenerateRevisionName field is set (as mentioned by this Terraform provider issue: https://github.com/terraform-providers/terraform-provider-google/issues/5898). I’ve tried AutoGenerateRevisionName and manually generating a random name as well.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 33 (8 by maintainers)
Commits related to this issue
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Adding in test code, fixes #350 — committed to pulumi/pulumi-gcp by rshade 2 years ago
- Cloudrun service fix 409 conflict due to not refreshing by default (#2622) This change fixes an issue with the `cloud_run_service` resource which causes a 409 conflict with the service whenever ther... — committed to pulumi/pulumi-gcp by rshade 2 years ago
Doing a refresh worked once, but when I added
pulumi refresh --yesto my CD script prior topulumi up --yesit failed again with a 409, so I think there’s something else at play here as well. Are there any considerations I should weigh (other than it takes longer to refresh then deploy) when addingpulumi refresh --yesto my CD scripts?The issue also happens when deploying an image change from outside pulumi, e.g. deploying the infra changes via pulumi, but an update in the image as part of another pipeline.
A simple
pulumi refreshdidn’t work for me, butpulumi refresh -t urn:pulumi:xxx::yyy::gcp:cloudrun/service:Service::zzzdidSame here. The issue should be reopened.
Yes, if you don’t want to clean it, can you please DM to me on slack.pulumi.com? Alternative, lee@ via email works, too.