Open lazzurs opened 1 month ago
It looks like use_path_style
was introduced since version 1.6.0, we may need to track the version of Terraform/Tofu to know which field to pass
So, to give concrete next steps:
As long as OpenTofu/Terraform versions that use force_path_style
are supported by Terragrunt, we won't remove the ability to set it.
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.
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.