source address
The global name of a provider or module, such as hashicorp/local, made of a namespace and a name (and a registry host, usually left out).
In more detail
The namespace is the publisher, such as hashicorp, and the name is the provider. When the registry host is left out it defaults to registry.terraform.io. The source address, not the local name, decides what terraform init downloads.
Example
source = "hashicorp/local" # = registry.terraform.io/hashicorp/localRelated terms
- required_providers — The block inside the terraform block that lists each provider a configuration needs, where to download it from and which versions are acceptable.
- local name — The short name you give a provider inside one configuration, used as the prefix of resource types and in provider blocks.
- Terraform Registry — HashiCorp's public website where providers and reusable modules are published, with the documentation for each.
Taught in
- Providers And The required_providers Block — Infrastructure as Code with Terraform
- The Terraform Registry And Public Modules — Infrastructure as Code with Terraform
- Infrastructure As Code, And One Workflow For Every Platform — HashiCorp Terraform Associate (004) Exam Prep
- Providers: How Terraform Reaches Every API — HashiCorp Terraform Associate (004) Exam Prep
- Where Modules Come From — HashiCorp Terraform Associate (004) Exam Prep
- Inspecting And Repairing State From The CLI — HashiCorp Terraform Associate (004) Exam Prep