-
Notifications
You must be signed in to change notification settings - Fork 7
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
remove lockfiles #179
remove lockfiles #179
Conversation
Apologies, please disregard my review. |
Hello @etcart |
Here is a bit more context on the lockfiles from a good stack overflow post https://stackoverflow.com/questions/67963719/should-terraform-lock-hcl-be-included-in-the-gitignore-file |
Are you seeing a checksum not matching error? |
the error we are getting is
this occuring as we are updating from v17.0.0.2, which does not have lockfiles coming from cirrus-core, to v18.0.0.0, which has lockfiles coming from cirrus-core, but not cirrus-daac. |
OK. I think this covers and edge case that maybe we werent expecting. Have you been able to confirm that this branch now deploys? In your CI you should be able to point to this feature branch instead of the release ref. |
precisely, by pointing to this branch we're working just fine |
if the intention is to lock to aws provider 5.20, shouldn't it be set in the provider.tf file? and also be set in the relevant release of CIRRUS-DAAC as well as CIRRUS-core? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add *.lock.hcl
to the .gitignore to prevent the files from being added accidentally.
.gitignore
Outdated
@@ -21,3 +21,4 @@ workflows | |||
scripts/**/*.log | |||
.container_bash_history | |||
.venv | |||
*.lock.hcl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing newline at end of file
this pr assumes that lockfiles
were added in error
this is because they are not present in previous releases, nor a part of any release notes
and this pr removes them