You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
force_path_style=true
Will produce the error
tofu: │ Warning: Deprecated Parameter
tofu: │
tofu: │ on provider.tf line 6, in terraform:
tofu: │ 6: backend "s3" {}
tofu: │
tofu: │ Parameter "force_path_style" is deprecated. Use "use_path_style" instead.
This should be changed to
```hcl
use_path_style = true
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:
Support both, as this is a scenario where it's better to avoid a breaking change.
Leverage OpenTofu/Terraform version information to decide whether to emit a warning that they are using a deprecated field.
(Optional) When feat: Adding Strict Package #3424 is merged, consider adding a strict control that users can use to opt-in to a requirement that they use the latest configuration here.
As long as OpenTofu/Terraform versions that use force_path_style are supported by Terragrunt, we won't remove the ability to set it.
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: