The terraform [`validate` command](https://developer.hashicorp.com/terraform/cli/commands/validate) is usually used to validate the configuration files in a directory. It is very useful to check a terraform module.
## Variants
The Terraform template can be used in conjunction with template variants to cover specific cases.