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 provider specific keys #1082

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cam72cam
Copy link
Member

@cam72cam cam72cam commented Oct 1, 2024

We now scan both ./keys/n/namespace/ and ./keys/n/namespace/provider/. This allows users to provide both organization level keys and provider specific keys.

@cam72cam cam72cam requested a review from Yantrio October 1, 2024 21:04
We now scan both ./keys/n/namespace/ and ./keys/n/namespace/provider/.
This allows users to provide both organization level keys and provider
specific keys.

Signed-off-by: Christian Mesh <[email protected]>
@cam72cam cam72cam force-pushed the support_provider_specific_keys branch from bd7982e to 3664498 Compare October 1, 2024 21:08
Directory: p.KeyLocation,
Namespace: p.Provider.EffectiveNamespace(),
ProviderName: p.Provider.ProviderName,
Directory: p.KeyLocation,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be called "name" or "reponame" depending on what it contains. Also, this should be validated to avoid problems.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally, this will break BC because older OpenTofu and Terraform versions will simply ignore this field.

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.

2 participants