-
-
Notifications
You must be signed in to change notification settings - Fork 998
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
force_path_style in S3 backend is now deprecated #3472
Comments
It looks like |
So, to give concrete next steps:
As long as OpenTofu/Terraform versions that use |
As per the documentation linked below the force_path_style option is now deprecated and should be changed to use_path_style. https://developer.hashicorp.com/terraform/language/backend/s3#force_path_style As per the comments in gruntwork-io#3472 I have made this PR to support both options but commented the code and the documentation to indicate that the old option is now deprecated
As per the documentation linked below the force_path_style option is now deprecated and should be changed to use_path_style. https://developer.hashicorp.com/terraform/language/backend/s3#force_path_style As per the comments in gruntwork-io#3472 I have made this PR to support both options but commented the code and the documentation to indicate that the old option is now deprecated
I have updated the PR to support both options. If needed I can add version checks to see which to use but I don't think this is done for other commands and is generally left for the user to manage. Happy to be corrected on this of course. |
The associated PR has gone stale, re-requesting a revisit. |
Describe the bug
force_path_style is now deprecated and should be replaced with use_path_style
Steps To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.
Be sure that the maintainers can actually reproduce the issue. Bug reports that are too vague or hard to reproduce are hard to troubleshoot and fix.
Will produce the error
Versions
Additional context
https://developer.hashicorp.com/terraform/language/backend/s3#force_path_style
I have a branch with the code changes to change the existing configuration option to the new one. It is a straight replacement. If the community thinks it is better I can add both but I think a straight replacement with a breaking change warning would be better as it will stop any new deployments of the deprecated configuration option.
The text was updated successfully, but these errors were encountered: