Terraform.gitignore 874 字节
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
# Crash log files
crash.log
10
crash.*.log
11

T
Troy Lindsay 已提交
12
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
K
Kevin Cochran 已提交
13 14 15
# 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 已提交
16
#
K
Kevin Cochran 已提交
17
*.tfvars
O
Oussama BOUNAIM 已提交
18

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

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

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

# Ignore CLI configuration files
.terraformrc
terraform.rc