Skip to content

Commit

Permalink
Make resource have sweepable, unique name in TestAccIntegrationsClien…
Browse files Browse the repository at this point in the history
…t_integrationsClientBasicExample (GoogleCloudPlatform#11322)
  • Loading branch information
SarahFrench authored and BBBmau committed Aug 21, 2024
1 parent e1155c5 commit f2c9393
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mmv1/products/integrations/Client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ examples:
skip_vcr: true
vars:
key_ring_name: my-keyring
service_account_id: my-service-acc
- !ruby/object:Provider::Terraform::Examples
name: "integrations_client_deprecated_fields"
primary_resource_id: "example"
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/integrations/go_Client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ examples:
primary_resource_id: 'example'
vars:
key_ring_name: 'my-keyring'
service_account_id: my-service-acc
skip_vcr: true
- name: 'integrations_client_deprecated_fields'
primary_resource_id: 'example'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "google_kms_crypto_key_version" "test_key" {
}

resource "google_service_account" "service_account" {
account_id = "service-account-id"
account_id = "<%= ctx[:vars]['service_account_id'] %>"
display_name = "Service Account"
}

Expand Down

0 comments on commit f2c9393

Please sign in to comment.