Open jrobison-sb opened 2 years ago
@jrobison-sb Thank you for your proposal!
It's technically possible, but the current implementation heavily depends on the HCL native syntax. I probably won't prioritize this feature for the foreseeable future, but if someone implement this, I would be happy to review it.
Thanks!
.tf.json
files, so tfupdate should support them as well. Currently it seems that it does not.$ cat main.tf.json { "terraform": { "required_version": "= 0.13.5" } }
$ tfupdate terraform -v 0.14.11 -r ./
$ cat main.tf terraform { required_version = "0.14.11" }
$ cat main.tf.json { "terraform": { "required_version": "= 0.13.5" } }