Difference between revisions of "Terraform validate"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* [[Error: Could not load plugin]] | * [[Error: Could not load plugin]] | ||
− | == Related | + | == Related == |
* <code>[[terraform init -backend=false]]</code> | * <code>[[terraform init -backend=false]]</code> | ||
* <code>[[terraform fmt]]</code> | * <code>[[terraform fmt]]</code> | ||
Line 26: | Line 26: | ||
* <code>[[terragrunt validate]]</code> | * <code>[[terragrunt validate]]</code> | ||
* <code>[[tflint]]</code> | * <code>[[tflint]]</code> | ||
+ | * <code>[[.pre-commit-config.yaml]]</code> | ||
== See also == | == See also == |
Revision as of 16:13, 20 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
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
.pre-commit-config.yaml
See also
terraform fmt [ -diff | -check | validate | --help ]
Advertising: