hashicorp / terraform-config-inspect

A helper library for shallow inspection of Terraform configurations
Mozilla Public License 2.0
381 stars 76 forks source link

Support _override.tf files #1

Closed apparentlymart closed 6 years ago

apparentlymart commented 6 years ago

Currently this library does not support _override.tf and _override.tf.json files.

Since our goal with this library is to be as liberal as possible in what we accept (at the expense of catching fewer errors that Terraform itself would raise), we could actually just treat all files as override files, and remove the error checking for duplicate definitions. Valid configurations (as defined by Terraform) will never have such definitions.

apparentlymart commented 6 years ago

Fixed in #2.