Difference between revisions of "Terraform providers (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 17: Line 17:
  
  
 
+
[[provider.tf]]
 
  provider "aws" {
 
  provider "aws" {
 
   profile = "default"
 
   profile = "default"

Revision as of 14:58, 14 February 2022

terraform providers prints a tree of the Terraform providers used in the configuration.

Examples

terraform providers
╷
│ Error: No configuration files
│
│ The directory /root contains no Terraform configuration files.
╵
terraform providers

Providers required by configuration:
.
└── provider[registry.terraform.io/hashicorp/aws]


provider.tf
provider "aws" {
  profile = "default"
  region  = "us-west-2"
}

Related terms

See also

Advertising: