terraform providers
The command that prints a tree of every provider the configuration and its modules require, with each version constraint.
In more detail
It is most useful once modules bring their own requirements and you need to see whose constraint is whose. It reads only configuration and the lock file, so it changes nothing.
Related terms
- required_providers — The block inside the terraform block that lists each provider a configuration needs, where to download it from and which versions are acceptable.
- Terraform module — A directory of Terraform files with inputs (variables) and outputs, which other configurations can call to reuse the same infrastructure design.
Taught in
- Providers And The required_providers Block — Infrastructure as Code with Terraform
- Infrastructure As Code, And One Workflow For Every Platform — HashiCorp Terraform Associate (004) Exam Prep
- Providers: How Terraform Reaches Every API — HashiCorp Terraform Associate (004) Exam Prep
- Versions, The Lock File And Provider Aliases — HashiCorp Terraform Associate (004) Exam Prep
- Inspecting And Repairing State From The CLI — HashiCorp Terraform Associate (004) Exam Prep