-
Notifications
You must be signed in to change notification settings - Fork 10k
Open
Labels
Description
Current Terraform Version
Terraform v0.15.0
on darwin_amd64
Use-cases
Avoiding duplicate keys in maps.
Attempted Solutions
Linter scripts and third party tools.
Proposal
Duplicate keys in maps should raise some kind of warning. This would help prevent mistakes when working with larger and more complex maps. In particular dynamic maps and merged maps where the keys may not be visible in the terraform configuration as written, only being populated when terraform is run.
References
N.A.
myronmeier, rams2020, nwsparks, mheiges, maty0609 and 87 more