Skip to content

Commit

Permalink
Merge pull request #302 from kitware-resonant/gitignore
Browse files Browse the repository at this point in the history
Update .gitignore to include Terraform files
  • Loading branch information
brianhelba authored Feb 13, 2025
2 parents ac65c77 + e8cd79a commit 3f197ec
Showing 1 changed file with 40 additions and 7 deletions.
47 changes: 40 additions & 7 deletions {{ cookiecutter.project_slug }}/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.terraform/
staticfiles/

# Created by https://www.toptal.com/developers/gitignore/api/django
# Edit at https://www.toptal.com/developers/gitignore?templates=django
# Created by https://www.toptal.com/developers/gitignore/api/django,terraform
# Edit at https://www.toptal.com/developers/gitignore?templates=django,terraform

### Django ###
*.log
Expand All @@ -16,7 +13,7 @@ media

# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly.
# <django-project-name>/staticfiles/
{{ cookiecutter.pkg_name }}/staticfiles/

### Django.Python Stack ###
# Byte-compiled / optimized / DLL files
Expand Down Expand Up @@ -174,4 +171,40 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# End of https://www.toptal.com/developers/gitignore/api/django
### 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, 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

# End of https://www.toptal.com/developers/gitignore/api/django,terraform

0 comments on commit 3f197ec

Please sign in to comment.