summaryrefslogtreecommitdiff
path: root/gitignore/Terraform.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'gitignore/Terraform.gitignore')
-rw-r--r--gitignore/Terraform.gitignore29
1 files changed, 29 insertions, 0 deletions
diff --git a/gitignore/Terraform.gitignore b/gitignore/Terraform.gitignore
new file mode 100644
index 0000000..7a3e2fd
--- /dev/null
+++ b/gitignore/Terraform.gitignore
@@ -0,0 +1,29 @@
+# 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
+
+# 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*