From 805c4fc0693bf5b248ba93339d0c99f4c12f36d0 Mon Sep 17 00:00:00 2001 From: Ricardo Lopes de Souza Mendes Date: Fri, 8 Nov 2024 15:06:08 -0300 Subject: [PATCH] chore: add .gitignore file for infra code --- .gitignore | 4 ---- infrastructure/.gitignore | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 infrastructure/.gitignore diff --git a/.gitignore b/.gitignore index ee130ba..5e363cd 100644 --- a/.gitignore +++ b/.gitignore @@ -162,7 +162,3 @@ cython_debug/ # macOS Desktop Services Store settings .DS_Store - -# Terraform -.terraform/ -.terraform-plan.out diff --git a/infrastructure/.gitignore b/infrastructure/.gitignore new file mode 100644 index 0000000..a71b2fc --- /dev/null +++ b/infrastructure/.gitignore @@ -0,0 +1,37 @@ +# 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, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +*.tfvars +*.tfvars.json + +# 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 + +# Ignore transient lock info files created by terraform apply +.terraform.tfstate.lock.info + +# 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 +*tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc