# Terraform state files (unencrypted) *.tfstate *.tfstate.backup *.tfstate.*.backup # Keep encrypted state files !*.tfstate.enc # Terraform directory .terraform/ .terraform.lock.hcl # SOPS configuration with your private key .sops.yaml # Actual terraform.tfvars (may contain secrets) terraform.tfvars # Keep encrypted version !terraform.tfvars.enc # Crash logs crash.log crash.*.log # Override files override.tf override.tf.json *_override.tf *_override.tf.json # Terraform RC files .terraformrc terraform.rc