Difference between revisions of "Terraform validate"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  Success! The configuration is valid.
 
  Success! The configuration is valid.
  
== Error: Could not load plugin ==
+
* [[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 ==
 
== Related commands ==

Revision as of 14:32, 18 October 2021

terraform validate

terraform validate
terraform validate && terraform plan

Example

terraform validate
Success! The configuration is valid.

Related commands

See also

Advertising: