Difference between revisions of "Terraform validate"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  terraform validate
 
  terraform validate
 
  Success! The configuration is valid.
 
  Success! The configuration is valid.
 
  
 
== Error: Could not load plugin ==
 
== Error: Could not load plugin ==

Revision as of 10:31, 5 September 2021

terraform validate

Example

terraform validate
Success! The configuration is valid.

Error: Could not load plugin

 terraform validate
╷
│ Error: Could not load plugin
│
│
│ Plugin reinitialization required. Please run "terraform init".
│
│ Plugins are external binaries that Terraform uses to access and manipulate
│ resources. The configuration provided requires plugins which can't be
│ located,
│ don't satisfy the version constraints, or are otherwise incompatible.
│
│ Terraform automatically discovers provider requirements from your
│ configuration, including providers used in child modules. To see the
│ requirements and constraints, run "terraform providers".
│
│ failed to instantiate provider "registry.terraform.io/hashicorp/aws" to
│ obtain schema: unknown provider "registry.terraform.io/hashicorp/aws"
│
╵

Related commands

See also

Advertising: