Terraform configuration consists of infrastructure code files, variable definitions, CLI settings, and backend/state settings.
*.tfterraform.tfvars, *.auto.tfvars~/.terraformrc or path specified by TF_CLI_CONFIG_FILEterraform.lock.hcl~/.terraformrc)plugin_cache_dir = "$HOME/.terraform.d/plugin-cache"
provider_installation {
direct {}
}
TF_VAR_<name> for variable injectionTF_LOG for debug loggingTF_CLI_CONFIG_FILE for custom CLI config locationterraform fmt -check
terraform validate
terraform providers
ls -l terraform.lock.hcl