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
*.tfstate.backup *.tfstate.*
*.tfstate.lock.info
# logs # Crash log files
*.log crash.log
crash.*.log
# Directories # Exclude all .tfvars files, which are likely to contain sensitive data, such as
.terraform/ # password, private keys, and other secrets. These should not be part of version
.vagrant/ # control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
# SSH Keys # Ignore override files as they are usually used to override resources locally and so
*.pem # are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Backup files # Include override files you do wish to add to version control using negated pattern
*.bak !example_override.tf
# Ignored Terraform files # Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
*gitignore*.tf # example: *tfplan*
# Ignore Mac .DS_Store files # Ignore CLI configuration files
.DS_Store .terraformrc
terraform.rc
# Ignored vscode files ### Ansible
.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
*.retry *.retry
### OTHER ### OTHER
*.env *.env
.env .env