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

Add support for regional secret resource google_secret_manager_regional_secret #8170

Conversation

modular-magician
Copy link
Collaborator

Add support for new regional secret resource google_secret_manager_regional_secret. I have also defined the iam_policy field in the RegionalSecret.yaml file to include the IAM resources and IAM datasources as well.

More info about regional secrets: https://cloud.google.com/secret-manager/docs/regional-secrets-overview

Notes:

  1. In RegionalSecret.yaml file, the versionAliases field is commented and the respective test cases covered in the resource_secret_manager_regional_secret_test.go.erb file are also commented because this field depends on creating regional_secret_version_resource. We intend to uncomment once this PR is merged and dependent tests can pass.
  2. As of now, the API reference of the regional secrets are being documented on GCP docs side. Hence, the link mentioned in the ResourceSecret.yaml file will be updated later.

Release Note Template for Downstream PRs (will be copied)

`google_secret_manager_regional_secret`

Derived from GoogleCloudPlatform/magic-modules#11678

…nal_secret` (#11678)

[upstream:3084e72fbb69daba66bf7164f10a7b6af3a82d4a]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit e9efc46 into hashicorp:main Sep 12, 2024
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-3084e72fbb69daba66bf7164f10a7b6af3a82d4a branch November 16, 2024 03:36
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.

1 participant