tfenv icon indicating copy to clipboard operation
tfenv copied to clipboard

min-required should support json files, not just *.tf files

Open jrobison-sb opened this issue 5 years ago • 2 comments

Terraform configuration files are most commonly done in HCL and with a *.tf extension, but they also support JSON in 0.12 and 0.11.

It looks to me like tfenv install min-required is only parsing *.tf files, not JSON. min-required should probably support the same file formats as Terraform itself supports, so JSON support would be nice.

jrobison-sb avatar Mar 11 '20 13:03 jrobison-sb

PR welcomed

Zordrak avatar Mar 15 '20 16:03 Zordrak

I submitted a very quick PR #277 to improve this part. Thank's for a review

sebglon avatar Jun 16 '21 21:06 sebglon