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

Most upvoted comments

Doing a refresh worked once, but when I added pulumi refresh --yes to my CD script prior to pulumi up --yes it 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 adding pulumi refresh --yes to 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 refresh didn’t work for me, but pulumi refresh -t urn:pulumi:xxx::yyy::gcp:cloudrun/service:Service::zzz did

Same 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.