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 5 / 37

What Is a Provider?

A provider is the plugin that lets Terraform talk to a particular platform. The AWS provider knows how to create AWS resources, the Google provider knows Google Cloud, and so on.

You declare which providers your configuration needs, and Terraform downloads them during terraform init.

Running terraform providers lists the providers this configuration requires and the version constraints on each.

A common stumble is leaving provider versions unpinned, so a later init picks up a new major version with breaking changes. Pin them.

In real work, providers are what make one tool and one workflow sufficient for a stack spread across several clouds and SaaS platforms.

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)