Skip to content

Commit

Permalink
Fix Cloud Run v2 resources creation failure state inconsistency (Goog…
Browse files Browse the repository at this point in the history
  • Loading branch information
yanweiguo authored and balanaguharsha committed May 2, 2024
1 parent 384252c commit f6f3d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mmv1/products/cloudrunv2/Job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ references: !ruby/object:Api::Resource::ReferenceLinks
api: 'https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.jobs'
description: |
A Cloud Run Job resource that references a container image which is run to completion.
taint_resource_on_failed_create: true
async: !ruby/object:Api::OpAsync
operation: !ruby/object:Api::OpAsync::Operation
path: 'name'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/cloudrunv2/Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ iam_policy: !ruby/object:Api::Resource::IamPolicy
parent_resource_attribute: 'name'
base_url: projects/{{project}}/locations/{{location}}/services/{{name}}
import_format: ['projects/{{project}}/locations/{{location}}/services/{{name}}', '{{name}}']
taint_resource_on_failed_create: true
async: !ruby/object:Api::OpAsync
operation: !ruby/object:Api::OpAsync::Operation
path: 'name'
Expand Down

0 comments on commit f6f3d10

Please sign in to comment.