瀏覽代碼

Update Terraform.gitignore

Improvements: 

 * `.terraform` directories could be created in any subdirectory when user runs `terraform init`.
 * Quite an interesting variations of`.tfstate` files are created by Terraform such as `.*.tfstate.d` or  `.*.tfstate.lock.info`. It's best not to name any file with `*.tfstate.*` pattern.
 * `*.tfvars` files often contain private data and not supposed to be committed.
pull/2509/head
Han Tuzun 6 年之前
父節點
當前提交
dca471d597
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 7 行新增8 行删除
  1. 7
    8
      Terraform.gitignore

+ 7
- 8
Terraform.gitignore 查看文件

@@ -1,10 +1,9 @@
# Compiled files
*.tfstate
*.tfstate.*.backup
*.tfstate.backup
# Local .terraform directories
**/.terraform/*

# Module directory
.terraform/
# .tfstate files
*.tfstate
*.tfstate.*

# Variable values for development
terraform.tfvars
# .tfvars files
*.tfvars

Loading…
取消
儲存