Difference between revisions of "Terraform validate"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
* K8s [[datree]] | * K8s [[datree]] | ||
* <code>[[terragrunt validate]]</code> | * <code>[[terragrunt validate]]</code> | ||
+ | * <code>[[tflint]]</code> | ||
== See also == | == See also == |
Revision as of 18:58, 7 February 2024
terraform validate
terraform validate
terraform validate && terraform plan
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
terraform init -backend=false
terraform fmt
terraform fmt -check
terraform plan
terraform state
,terraform state show
- Test mode
aws cloudformation validate-template
- K8s datree
terragrunt validate
tflint
See also
terraform fmt [ -diff | -check | validate | --help ]
Advertising: