-
Notifications
You must be signed in to change notification settings - Fork 27
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 new s3 backend endpoints option #44
Conversation
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.
Great to see that tflocal is about to migrate to the new way of configuring the endpoints! 🚀
I have a few questions and comments, we should be good to go when they are resolved.
0f3dff1
to
7f74180
Compare
7f74180
to
70b72da
Compare
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.
Thanks for addressing all the comments! LGTM! 🚀
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.
🚀
Motivation
With v1.6 TF started to introduce a new format for s3 backend's endpoint option to be uniform with the AWS provider.
All previous options had been marked deprecated and who knows which version will remove it completely.
Docs: https://developer.hashicorp.com/terraform/language/settings/backends/s3#overriding-aws-api-endpoints
GH Issue: hashicorp/terraform#30492
As it's a relatively new option we need to introduce backward compatibility for legacy users.
Changes