terraform_map_duplicate_keys for .tfvars files #204
Unanswered
ericrichtert
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately, variable definitions files are not currently supported in this rule. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I's like to do some detection on duplicate keys in a map. terraform_map_duplicate_keys should do the trick, but our variables are populated in a .tfvars file.
With or without the --var-file=X.tfvars option, there is no detection of the duplicate keys. Is there a way to check the content of the .tfvars file?
Versions:
TFLint version 0.52.0
BTW: 0.9.1 was the same behaviour
Beta Was this translation helpful? Give feedback.
All reactions