Difference between revisions of "Terraform providers (command)"
Jump to navigation
Jump to search
(30 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>terraform providers</code> prints a tree of the providers used in the configuration. | + | {{lowercase}} |
+ | <code>terraform providers</code> 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 | ||
+ | |||
+ | * <code>[[terraform providers --help]]</code> | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | * [[Learn-terraform-provision-eks-cluster: terraform providers]] | ||
+ | |||
+ | |||
+ | |||
+ | 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 == | ||
+ | * <code>[[terraform provider]]</code> | ||
+ | * <code>[[main.tf]]</code> | ||
+ | * <code>[[terraform init]]</code> | ||
+ | * <code>[[Error: Failed to query available provider packages]]</code> | ||
+ | * [[Terraform backends]] | ||
== See also == | == See also == | ||
− | * {{terraform cmd}} | + | * {{terraform providers cmd|terraform providers}} |
− | * {{ | + | * {{Terraform providers}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 07:23, 12 February 2024
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[edit]
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[edit]
terraform provider
main.tf
terraform init
Error: Failed to query available provider packages
- Terraform backends
See also[edit]
- terraform providers
- Terraform provider:
AWS, Cloudflare
,GoogleWorkspace
,Kubernetes, Helm, .terraform/providers/
,template
,tfe
,providers.tf, dns, hashicorp/, hashicorp/tls
, Terraform provider versioning, Libvirt, datadog,terraform providers, required_version, onepassword
,rancher2
,time, terraform.tf
Advertising: