infrastructure-as-code/.gitignore

51 lines
1.1 KiB
Plaintext

# ---> Terraform
# Local .terraform directories
**/.terraform/*
**/.terraform.lock.hcl
# .tfstate files
# *.tfstate
*.tfstate.*
!terraform.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
!*.auto.tfvars
# 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
# output plans
*-plan.zip
# Ignore ssh_key_file_ref
**/ssh-key-ref-outputs.tf
# Ignore the lock files
*.lock.hcl
.project
openstack-tf/modules/ssh-key-ref/terraform.tfstate