thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Terraform Provider

A plugin that lets Terraform interact with an API, such as AWS, Azure, Google Cloud, Kubernetes, or network platforms.

Definition

Providers define resource and data source types. Versions are constrained in a required_providers block and pinned in .terraform.lock.hcl. Multiple configurations of a provider use alias.

Example

required_providers { aws = { source = "hashicorp/aws", version = "~> 5.0" } }

Exam tip

~> 5.0 allows 5.x but not 6.0; provider alias is used for multi-region deployments.

Related terms