-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: updating AWS Provider and Terraform version #145
Conversation
Why remove the examples? Also: Merge conflict! Yay! |
Because the examples are remnants that weren't removed when we got rid of terratest. They're not necessary. |
Regarding the version constraints, Terraform's recommended best practice (https://developer.hashicorp.com/terraform/language/expressions/version-constraints#best-practices) is for reusable modules to only specify a minimum version constraint:
We previously specified maximum versions in several of our modules, but then I think we switched to only specifying minimum versions. Either way, this is a good candidate for a broader Architectural Decision Record (ADR) on the topic if we don't already have one. |
They're used by humans, not just terratest, though :( |
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.
Are the examples out of date? Unhelpful? Worse than nothing? 👀
@esacteksab I might be wrong, but from looking at these examples/ that were removed, I don't see an obvious connection to terratest :( |
Sorry, I've neglected this. I'll be back hopefully by EOD tomorrow (June 23, 2023). Thank you and sorry! |
Addes these examples back as they're not leftovers from Terratest. This reverts commit 8630f09.
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.
YAY :D
Now we get to battle with terraform-docs short circuiting required checks!
Yeah, I have to be honest. That experience sucked. I'd run pre-commit locally, go to push, couldn't because merge conflicts, pull, make changes, attempt to push, couldn't. It was terrible and if this is what it means to have CI do writes on doc updates, then I'm a hard no and I change my mind. I'll never contribute again because it's too terrible, like worse than why I championed to let the machines do stuff for us. Sorry! I was wrong. I'm team get rid of it. /rant |
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.
Given some of the recent commits, I don't think the current changes to the following files are needed:
.terraform.lock.hcl
README.md
Changes proposed in this pull request:
This is similar to this PR.