Skip to content

Commit

Permalink
chore: add .gitignore file for infra code
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardolsmendes committed Nov 8, 2024
1 parent d9d4a8f commit 805c4fc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,3 @@ cython_debug/

# macOS Desktop Services Store settings
.DS_Store

# Terraform
.terraform/
.terraform-plan.out
37 changes: 37 additions & 0 deletions infrastructure/.gitignore
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 805c4fc

Please sign in to comment.