Skip to content
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

Parse TF_VAR_* env variables as HCL #1282

Merged
merged 1 commit into from Dec 24, 2021
Merged

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Dec 19, 2021

Fixes #1281

TF_VAR_* environment variables are parsed as string literals in TFLint. This behavior is the same as Terraform v0.11.x, but Terraform v0.12.x and later supports parsing env variables as HCL. The value passed in --var was already parsed as HCL, but the env variables were missing from that target.

This PR adds support for parsing TF_VAR_* env variables as HCL in the same way of Terraform v0.12.x and later.

@wata727 wata727 merged commit bc357f5 into master Dec 24, 2021
@wata727 wata727 deleted the add_support_for_parsing_env_var branch December 24, 2021 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant