Ad space (banner)
AD

Got the fundamentals? A structured Terraform course is a fast way to level up.

Find Terraform courses on Udemy

Affiliate link. Costs you nothing extra.

Lesson 28 / 37

Listing Providers with terraform providers

When you want to know which providers your configuration depends on, use terraform providers.

The syntax is terraform providers.

Running it prints a tree of the providers required, including those pulled in by modules, with the version constraint on each.

A common stumble is not realising a module brings its own provider requirements, which can conflict with yours.

In real work, it is how you untangle version conflicts when init refuses to resolve.

Terraform
Try it (type this into the pseudo terminal)
terraform providers

🧑‍💻 You can type this command into the Terraform pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)