-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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 #33993
Conversation
b5c16b3
to
6088002
Compare
Thanks for this submission! Labeling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% TF_ACC=1 go test ./internal/backend/remote-state/s3/...
ok github.com/hashicorp/terraform/internal/backend/remote-state/s3 139.877s
Thanks for the fix, @andrewhertog! Just made a small adjustment to align the alias regular expression pattern with the AWS documentation: |
Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch. |
This fix has been backported and will be available in Terraform |
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 contributions. |
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
Fixes #33979
Fixes #34005
Target Release
1.6.1
Draft CHANGELOG entry
BUG FIXES