Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMS: add plural data source for resource_google_kms_key_ring #18611

Conversation

modular-magician
Copy link
Collaborator

This PR adds a new plural data source google_kms_key_rings.

Note:

Running locally:

└─(16:10:49 on main ✹ ✭)──> envchain GCLOUD make testacc TEST=./google/services/kms TESTARGS='-run TestAccDataSourceGoogleKmsKeyRings_basic'                                                     2 ↵ ──(Wed,Jun26)─┘
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/services/kms -v -run TestAccDataSourceGoogleKmsKeyRings_basic -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN   TestAccDataSourceGoogleKmsKeyRings_basic
2024/06/26 16:11:06 [INFO] Authenticating using configured Google JSON 'credentials'...
2024/06/26 16:11:06 [INFO]   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
2024/06/26 16:11:06 [INFO] Authenticating using configured Google JSON 'credentials'...
2024/06/26 16:11:06 [INFO]   -- Scopes: [https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/userinfo.email]
2024/06/26 16:11:06 [DEBUG] Waiting for state to become: [success]
2024/06/26 16:11:06 [INFO] Terraform is using this identity: mauricio-alvarezleon@hc-terraform-testing.iam.gserviceaccount.com
2024/06/26 16:11:06 [INFO] Instantiating Google Cloud KMS client for path https://cloudkms.googleapis.com/
2024/06/26 16:11:06 [DEBUG] Retry Transport: starting RoundTrip retry loop
2024/06/26 16:11:06 [DEBUG] Retry Transport: request attempt 0
2024/06/26 16:11:07 [DEBUG] Retry Transport: Stopping retries, last request was successful
2024/06/26 16:11:07 [DEBUG] Retry Transport: Returning after 1 attempts
2024/06/26 16:11:07 [DEBUG] Retry Transport: starting RoundTrip retry loop
2024/06/26 16:11:07 [DEBUG] Retry Transport: request attempt 0
2024/06/26 16:11:07 [DEBUG] Retry Transport: Stopping retries, last request was successful
2024/06/26 16:11:07 [DEBUG] Retry Transport: Returning after 1 attempts
--- PASS: TestAccDataSourceGoogleKmsKeyRings_basic (25.72s)
PASS
ok      github.com/hashicorp/terraform-provider-google/google/services/kms      26.964s

Release Note Template for Downstream PRs (will be copied)

`google_kms_key_rings`

Derived from GoogleCloudPlatform/magic-modules#11061

…hicorp#11061)

Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>

[upstream:b03e72f5f5f54fcfed067ed3e4fc8afa51a8f9e1]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit d624fe0 into hashicorp:main Jun 28, 2024
4 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant