Difference between revisions of "Terraform validate"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{tf fmt}} |
− | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Revision as of 18:26, 28 February 2023
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 -check
terraform plan
terraform state
,terraform state show
terraform fmt
- Test mode
aws cloudformation validate-template
- K8s datree
terragrunt validate
See also
terraform fmt [ -diff | -check | validate | --help ]
Advertising: