Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Have Git ignore .terraform.lock.hcl #657

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Conversation

jjb007
Copy link
Contributor

@jjb007 jjb007 commented Jun 2, 2022

Summary

.terraform.lock.hcl files are created locally whenever a user needs to manage TFE state. These should not be pushed so the state isn't locked inadvertently.

Test Plan

make update-golden-files
make test

References

ONCALL-60

@jjb007 jjb007 requested a review from jakeyheath June 2, 2022 22:02
@jjb007 jjb007 requested a review from a team as a code owner June 2, 2022 22:02
@@ -6,6 +6,7 @@
*.tfstate.*.backup
*.tfstate.backup
*tfvars
.terraform.lock.hcl
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The meat of the change is here.

@jjb007 jjb007 merged commit 398f41e into main Jun 2, 2022
@jjb007 jjb007 deleted the jbartolome/ONCALL-60 branch June 2, 2022 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants