update gitignore for better terraform support

This commit is contained in:
Ryan Goodwin 2022-06-15 21:33:52 -04:00
parent 1b14ed190c
commit 4e398c95e2

68
.gitignore vendored
View File

@ -1,53 +1,43 @@
## TERRAFORM
### Terraform
# Local .terraform directories
**/.terraform/*
# Compiled files
# .tfstate files
*.tfstate
*.tfstate.backup
*.tfstate.lock.info
*.tfstate.*
# logs
*.log
# Crash log files
crash.log
crash.*.log
# Directories
.terraform/
.vagrant/
# 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
# SSH Keys
*.pem
# 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
# Backup files
*.bak
# Include override files you do wish to add to version control using negated pattern
!example_override.tf
# Ignored Terraform files
*gitignore*.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# Ignore Mac .DS_Store files
.DS_Store
# Ignore CLI configuration files
.terraformrc
terraform.rc
# Ignored vscode files
.vscode/
# Ignore Any Generated JSON Files
operations/automation-script/apply.json
operations/automation-script/configversion.json
operations/automation-script/run.template.json
operations/automation-script/run.json
operations/automation-script/variable.template.json
operations/automation-script/variable.json
operations/automation-script/workspace.template.json
operations/automation-script/workspace.json
operations/sentinel-policies-scripts/create-policy.template.json
operations/sentinel-policies-scripts/create-policy.json
operations/variable-scripts/variable.template.json
operations/variable-scripts/variable.json
# Sentinel runtime directory
.sentinel
### ANSIBLE
### Ansible
*.retry
### OTHER
*.env
.env