MatthewJohn / terrareg

Open source Terraform module registry with UI, optional Git integration and deep analysis
https://gitlab.dockstudios.co.uk/pub/terrareg
GNU General Public License v3.0
271 stars 23 forks source link

Provide method to specify Terraform version per module #20

Closed mrmattyboy1 closed 1 year ago

mrmattyboy1 commented 1 year ago

At the moment, each module needs a constraint, but ideally in the root module, each sub-module and each example.

Maybe a configuration on the module (or specified in the terrareg.json file) that determines the verison of Terraform that should be used for extraction could be useful? Alternatively, could the entire code-base be scanned for any terraform version constraints and be used as a fallback?

MatthewJohn commented 1 year ago

This has been created: https://gitlab.dockstudios.co.uk/pub/terrareg/-/issues/443