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(s3): allow aliases for kms key #670

Merged
merged 4 commits into from
Oct 10, 2023

Conversation

andrewhertog
Copy link
Contributor

Release 1.6.0 broke the ability to use s3 key aliases in the s3 backend. This change adjusts the tests, and validation of kms key arn's to look for aliases

Resolves #669

Target Release

1.6.0

Draft CHANGELOG entry

BUG FIXES

  • Fixes the ability to use KMS key aliases in the S3 backend

Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR.

@marcinwyszynski marcinwyszynski self-assigned this Oct 5, 2023
@marcinwyszynski marcinwyszynski added the bug Something isn't working label Oct 5, 2023
@marcinwyszynski marcinwyszynski added this to the First Stable Release milestone Oct 5, 2023
@marcinwyszynski marcinwyszynski added the accepted This issue has been accepted for implementation. label Oct 6, 2023
@marcinwyszynski
Copy link
Contributor

@andrewhertog would you mind adding the changelog entry as part of this PR? Otherwise having read the relevant S3 and KMS docs multiple times I see no reason whatsoever to disallow key aliases.

Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
@marcinwyszynski marcinwyszynski merged commit d80fd2a into opentofu:main Oct 10, 2023
7 checks passed
@marcinwyszynski
Copy link
Contributor

Thanks a lot for your contribution @andrewhertog !

@andrewhertog andrewhertog deleted the fix/s3-backend-kms-alias branch October 30, 2023 19:51
thumperward pushed a commit to thumperward/opentf that referenced this pull request Jan 10, 2024
Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue has been accepted for implementation. bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

s3backend: doesn't support kms key aliases
3 participants