hashicorp / terraform-config-inspect

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

"empty" variable default values result in variable being marked as required #23

Closed jstewmon closed 4 years ago

jstewmon commented 5 years ago

The included template will mark any variable with a default value of false, 0, [], {}, "" or null as being required due to the way go template pipeline actions work: https://golang.org/pkg/text/template/#hdr-Actions