-
Notifications
You must be signed in to change notification settings - Fork 22
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
tflocal overwrites or removes some S3 backend configurations #25
Labels
enhancement
New feature or request
Comments
Hi @mviamari! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
tflocal
, an s3 backend is generated automatically to use the localstack endpoints for the remote state. This works in many cases, however if the desired backend configuration has been customized beyond the default options/configuration applied inTF_S3_BACKEND_CONFIG
(https://github.com/localstack/terraform-local/blob/main/bin/tflocal#L45), those options/configurations are lost.For example, if the desired backend configuration has
force_path_style = true
, that configuration is lost whentflocal
is used.This is the initial backend configuration from the tf files.
this is the backend configuration generated by tflocal as an override.
The text was updated successfully, but these errors were encountered: