Closed kylecarbs closed 1 year ago
@radditude any shot you could help get this merged?
Hi @kylecarbs, thanks for your submission! The team looked at this today and per the guidelines stated in the README, we cannot accept this contribution. See specifically:
This library and tool are intentionally focused on only extracting simple top-level metadata about a single Terraform module. This is to reduce the maintenance burden of keeping this codebase synchronized with changes to Terraform itself: the features extracted by this package are unlikely to change significantly in future versions. For that reason, we cannot accept external PRs for this codebase that add support for additional Terraform language features.
I am sorry about that, and we do appreciate your contribution. Thanks again!
Closes https://github.com/hashicorp/terraform-config-inspect/issues/73.
Adds variable validation parsing.
Currently omits the
condition
property from JSON output, but happy to accept suggestions!The comments on
VariableValidation
are taken from: https://github.com/hashicorp/terraform/blob/b91d9435ea9d4e8f1708a7092cd7d20d26f15e03/internal/configs/named_values.go#L311-L330