From a29b5c435722e98b8b3fe8e473f0e37c8af72efa Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Fri, 19 May 2023 14:09:34 +0200 Subject: [PATCH] move terraform specific .gitignore to the folder --- .gitignore | 38 -------------------------------------- terraform/.gitignore | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 38 deletions(-) create mode 100644 terraform/.gitignore diff --git a/.gitignore b/.gitignore index 3159321..0372def 100644 --- a/.gitignore +++ b/.gitignore @@ -8,41 +8,3 @@ containers/workspace **/.ipynb_checkpoints scripts/metrics/cache.json .envrc - -# Local .terraform directories -**/.terraform/* - -# .tflock files -.terraform.lock.hcl - -# .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 - -# 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* - -# Ignore CLI configuration files -.terraformrc -terraform.rc diff --git a/terraform/.gitignore b/terraform/.gitignore new file mode 100644 index 0000000..1e0a92a --- /dev/null +++ b/terraform/.gitignore @@ -0,0 +1,37 @@ +# Local .terraform directories +**/.terraform/* + +# .tflock files +.terraform.lock.hcl + +# .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 + +# 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* + +# Ignore CLI configuration files +.terraformrc +terraform.rc