Skill 2.2.1

The provider plugin architecture

Key Concepts

Terraform core understands the language, state, plans and the dependency graph, but it delegates all platform-specific work to providers. Each provider defines a schema of resource types, data sources and, since Terraform 1.8, optional provider-defined functions. During a run, core starts each required provider as a separate process and calls it through an RPC protocol to validate configuration, plan changes, and create, read, update or delete objects.

Because providers are separate binaries, they are released and versioned independently of Terraform. A new cloud service can become available through a provider release without a new Terraform version. The prefix of a resource type name normally identifies its provider: aws_s3_bucket belongs to the provider with local name aws.