Open olfway opened 7 months ago
I think the question would be why aren't you using required_providers
? Every root module should define the providers and versions it requires.
Terraform doesn't complains without it, versions of providers pinned in .terraform.lock.hcl So I'm not sure why would I need it
We currently not using required_providers in our root modules and it seems tfupdate not supporting this
Maybe tfupdate lock could read providers and their versions from .terraform.lock.hcl itself?
This way we can use terraform init to upgrade providers and then tfupdate lock to update lock file with hashes