Duplicate variable declaration #1976
esacteksab
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I had a duplicate variable declared in
variables.tf
,tflint
found nothing. Butterraform validate
produces an error (a plan/apply also errors). The error is 'Duplicate variable declaration'. This feels like a bug, and feels like somethingtflint
should be able to detect and possibly address with--fix
though it is possible for duplicate variables to exist, but theirdescription
,type
,default
, could be different, so it may be difficult to determine which one to delete.Command
tflint
Terraform Configuration
TFLint Configuration
Not using one.
Output
Beta Was this translation helpful? Give feedback.
All reactions