summaryrefslogtreecommitdiff
path: root/astroshop-terraform/.gitignore
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-28 01:54:24 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-28 01:54:24 +0530
commitd682471acaa88e96c78717b813ffeedb726da831 (patch)
tree9ddb923e20a568fd618de8a0793fee7893a07fc5 /astroshop-terraform/.gitignore
parent793b832b52d8dbce129d347e2cbcfffadaf4867d (diff)
backend.tf: State file configuration
Diffstat (limited to 'astroshop-terraform/.gitignore')
-rw-r--r--astroshop-terraform/.gitignore83
1 files changed, 83 insertions, 0 deletions
diff --git a/astroshop-terraform/.gitignore b/astroshop-terraform/.gitignore
new file mode 100644
index 0000000..6190adb
--- /dev/null
+++ b/astroshop-terraform/.gitignore
@@ -0,0 +1,83 @@
+# .gitignore for Terraform
+
+# Local .terraform directories
+**/.terraform/*
+
+# .tfstate files
+*.tfstate
+*.tfstate.*
+
+# Crash log files
+crash.log
+crash.*.log
+
+# Exclude all .tfvars files, which are likely to contain sensitive data
+*.tfvars
+*.tfvars.json
+!example.tfvars
+
+# Ignore override files, as they are usually used to override resources locally
+override.tf
+override.tf.json
+*_override.tf
+*_override.tf.json
+
+# Include override files you do want to commit
+!example_override.tf
+
+# Ignore CLI configuration files
+.terraformrc
+terraform.rc
+
+# Ignore plan files
+*.tfplan
+plan.out
+
+# Ignore lock files (optional - many teams commit this)
+# .terraform.lock.hcl
+
+# Ignore Mac .DS_Store files
+.DS_Store
+
+# Ignore Linux/Unix hidden files
+.vscode/
+.idea/
+*.swp
+*.swo
+*~
+
+# Ignore Windows files
+Thumbs.db
+*.exe
+
+# Ignore temporary files
+*.tmp
+*.temp
+
+# Ignore local variable override files
+local.tfvars
+
+# Ignore environment-specific files
+*.local
+.env
+.env.local
+
+# Ignore Terraform debug files
+debug.tflog
+debug.tflog.*
+
+# Ignore custom scripts or local testing files
+scripts/local/
+local_tests/
+
+# Ignore secrets and credentials
+secrets.tfvars
+.ssh/
+*.pem
+*.pub
+
+# OS-specific
+.DS_Store
+.AppleDouble
+.LSOverride
+*.VC.db