Skip to content

Commit

Permalink
Update mutex on google_apigee_instance_attachment to lock globally (G…
Browse files Browse the repository at this point in the history
…oogleCloudPlatform#5911)

* Add support IAM policy for the Environment of Apigee X

* Add support IAM policy for the Environment of Apigee X

* Add support IAM policy for the Environment of Apigee X

* Add support IAM policy for the Environment of Apigee X

* Revert all changes to test files.

* Revert all changes to test files.

* Revert all changes to test files.

* Add primary_resource_name to fix tests.

* Update iam_attributes.tf.erb to honor skip_test.

* Don't reject skip_tests when example is nil.

* Update mmv1/products/apigee/api.yaml

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>

* Fix primary_resource_name for apigee organization name.

* Update mutex on google_apigee_instance_attachment to lock on org_id.

* Create a global lock on instance attachments.

* update mutex name to apigeeInstanceAttachments

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
  • Loading branch information
2 people authored and betsy-lichtenberg committed Apr 25, 2022
1 parent d8f5cb2 commit 66feadf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmv1/products/apigee/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ overrides: !ruby/object:Overrides::ResourceOverrides
autogen_async: true
import_format: ["{{instance_id}}/attachments/{{name}}", "{{instance_id}}/{{name}}"]
delete_url: '{{instance_id}}/attachments/{{name}}'
mutex: "{{instance_id}}"
# Creating a global lock on instance attachments.
mutex: "apigeeInstanceAttachments"
examples:
- !ruby/object:Provider::Terraform::Examples
name: "apigee_instance_attachment_basic"
Expand Down

0 comments on commit 66feadf

Please sign in to comment.