terraform providers (command)
terraform providers
prints a tree of the Terraform providers used in the configuration.
provider.tf
terraform providers lock Write out dependency locks for the configured providers terraform providers mirror Save local copies of all required provider plugins terraform providers schema Show schemas for the providers used in the configuration
Examples
terraform providers Providers required by configuration: . └── provider[registry.terraform.io/hashicorp/aws]
Providers required by state: provider[registry.terraform.io/hashicorp/local]
provider[registry.terraform.io/hashicorp/null]
provider[registry.terraform.io/hashicorp/random]
provider[registry.terraform.io/terraform-aws-modules/http]
provider[registry.terraform.io/hashicorp/aws]
provider[registry.terraform.io/hashicorp/external]
provider[registry.terraform.io/hashicorp/kubernetes]
terraform providers ╷ │ Error: No configuration files │ │ The directory /root contains no Terraform configuration files. ╵
provider.tf provider "aws" { profile = "default" region = "us-west-2" }
Related terms
See also
Advertising: