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

Fix google_dataform_repository resource's acceptance tests to have dynamic generated names for secrets #6641

Conversation

modular-magician
Copy link
Collaborator

This PR fixes acceptance tests that contain config for resources that will race to provision a secret called "secret"

Fixes hashicorp/terraform-provider-google#16519

Currently this is causing an issue in this PR (GoogleCloudPlatform/magic-modules#9457), where the bad test definitions are being used to generate IAM resource tests and result in tests failing due to this error:

Error: Error creating Secret: googleapi: Error 409: Secret [projects/[PROJECT_NUM]/secrets/secret] already exists.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#9462

…mes (#9462)

[upstream:2d3438cdac78a792d43b6694e0924319367c188c]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 35e1916 into hashicorp:main Nov 14, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-2d3438cdac78a792d43b6694e0924319367c188c branch November 16, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing test(s): TestAccDataformRepository_*
1 participant