Terraform.gitignore 862 字节
Newer Older
1
# Local .terraform directories
H
Han Tuzun 已提交
2
**/.terraform/*
3

H
Han Tuzun 已提交
4 5 6
# .tfstate files
*.tfstate
*.tfstate.*
J
Josh Kodroff 已提交
7

8 9 10
# Crash log files
crash.log

K
Kevin Cochran 已提交
11 12 13 14
# Exclude all .tfvars files, which are likely to contain sentitive 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.
J
Josh Kodroff 已提交
15
#
K
Kevin Cochran 已提交
16
*.tfvars
O
Oussama BOUNAIM 已提交
17

18 19
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
O
Oussama BOUNAIM 已提交
20 21 22 23
override.tf
override.tf.json
*_override.tf
*_override.tf.json
24 25 26 27

# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf
28 29 30

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
31 32 33 34

# Ignore CLI configuration files
.terraformrc
terraform.rc