DELAPARRA
Index
Color
NL
Category: Terraform

provider

Explained by Updated

What is provider?

provider: A plugin that lets Terraform talk to a platform (AWS, GCP, Cloudflare, GitHub). It exposes the resources and data sources you can manage. A provider in Terraform is a plugin that knows how to talk to one platform's API: AWS, Google Cloud, DigitalOcean, Cloudflare, GitHub and hundreds more. It defines which resources and data sources you can use.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about provider

How is provider used in practice?

You declare providers in your configuration, terraform init downloads them, and the provider block holds settings like the region. Credentials should come from environment variables or a secure source, not from the configuration file.

What should you keep in mind with provider?

Pin provider versions in a required_providers block, and commit the lock file, so upgrades happen deliberately. Provider upgrades can change behaviour or deprecate settings, so read the changelog and run a plan before applying. One project can use several providers together, for example creating a server at one provider and its DNS record at another.

What does an example of provider look like?

provider "aws" { region = "eu-central-1" }

At a glance

CategoryTerraform
Explained by
Updated

More Terraform terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.