infra/.gitignore
Viktor Barzin b93d17b7e7 [ci skip] Update .gitignore: exclude terragrunt-generated files
Add backend.tf, providers.tf, .terraform.lock.hcl, config,
and node_modules to gitignore (all generated or sensitive).
2026-02-22 21:30:45 +00:00

62 lines
1.3 KiB
Text
Executable file

# Created by https://www.toptal.com/developers/gitignore/api/terraform
# Edit at https://www.toptal.com/developers/gitignore?templates=terraform
### Terraform ###
# Local .terraform directories
**/.terraform/*
# .tfstate files
#*.tfstate
*.tfstate.*
# Crash log files
crash.log
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
#
# example.tfvars
#*.tfvars
# 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*
git_crypt.key
# Claude Code - temporary/sensitive files
.claude/cmd_input.txt
.claude/cmd_output.txt
.claude/cmd_status.txt
.claude/settings.local.json
.claude/._*
._*
# Terragrunt
.terragrunt-cache/
state/
# Terragrunt-generated files (providers, backend config)
backend.tf
providers.tf
.terraform.lock.hcl
# Kubernetes config (sensitive)
config
# Node.js (not part of infra)
node_modules/
package-lock.json
package.json