Skip to content

Commit

Permalink
Update .gitignore with terraform.lock.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
daphnegold committed Aug 18, 2023
1 parent ab8ae31 commit 2f379bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infra/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Local .terraform metadata
**/.terraform/*

# Ignore Terraform lock files
# As of Feb 2023, Terraform lock files, while well intentioned, have a tendency
# to get into a confusing state that requires recreating the lock file, which
# defeats the purpose. Moreover, lock files are per environment, which can make
# it difficult for people to upgrade dependencies (e.g. upgrade an AWS provider)
# across environments if certain environments are locked down (e.g. production).
.terraform.lock.hcl

# .tfstate files
*.tfstate
*.tfstate.*
Expand Down

0 comments on commit 2f379bf

Please sign in to comment.