Difference between revisions of "Terraform validate"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
* <code>[[aws cloudformation validate-template]]</code>
 
* <code>[[aws cloudformation validate-template]]</code>
 
* K8s [[datree]]
 
* K8s [[datree]]
 +
* <code>[[terragrun validate]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 09:01, 9 February 2023

terraform validate

terraform validate requires an initialized working directory with any referenced plugins and modules installed. Execute: terraform init -backend=false

Example

terraform validate
Success! The configuration is valid.

Examples with errors

Related commands

See also

Advertising: