# OpenTofu # Local .terraform directories **/.terraform/* # .tfstate files *.tfstate *.tfstate.* # Crash log files crash.log crash.*.log # Ignore override files as they are usually used to override resources locally and so # are not checked in override.tf override.tf.json *_override.tf *_override.tf.json # Include override files you do wish to add to version control using negated pattern # !example_override.tf # Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan # example: *tfplan* # Ignore CLI configuration files .terraformrc terraform.rc # Terragrunt # terragrunt cache directories **/.terragrunt-cache/* # Terragrunt debug output file (when using `--terragrunt-debug` option) # See: https://terragrunt.gruntwork.io/docs/reference/cli-options/#terragrunt-debug terragrunt-debug.tfvars.json