Enable debug logging
export TF_LOG='DEBUG'String interpolation
"Hello, ${var.name}"Multiline string
<<EOT
hello
world
EOTAzureRM & authentication
- Use Azure CLI when running Terraform locally
- Use service principal or managed identity when running non-interactively
Assigning values to root module variables
- Individually, with the
-varcommand line option (plan,apply)-var=key=value
- In variable definitions (
.tfvars) files, either specified on the command line or automatically loaded. - As environment variables.