-
Notifications
You must be signed in to change notification settings - Fork 21
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
TF modules pinning notes #128
Comments
Also, If you want use |
Just dug around a bunch of external dependencies and noticed that this is what is causing something have contraints mismatch when attempting to use the lacework provider pinned at a certain version. For instance we are pinning to version ~> 0.2, ~>0.25 (which don't conflict but work out to be 0.27.0) because we are not ready to jump to some of the other higher dependencies, aws provider being one of them.
However, since late last week there was an update to the
And because this is an external dependency within the cloudtrail module we cannot change/update this without forking and setting this to be different at the moment. |
@MaxymVlasov Thank you so much for your feedback, the team is looking into this issue actively. I will come back to you with some updates soon. |
@robert-mcclary-1uphealth Thank you so much for such detailed feedback. Also, apologies for the troubles. We are about to hit the one year mark from the release of v0.27.0 of our provider, this version still uses some APIv1 endpoints that are about to be decommissioned in November 2023 (next month), I highly encourage you to do update to the latest version, or at least jump to v1.0.0. Having said that, we acknowledge that we have put you in a bad spot here since you have no way to continue using the versions you were using. 😞 I am going to work on releasing two more versions of both modules to unblock you with @MaxymVlasov recommendation. Once again, we apologize for the inconveniences. |
@robert-mcclary-1uphealth here you have them:
-- Please, let me know if these versions unblock you. |
Please, feel free to re-open this issue if this hasn't been solved. |
@afiune well, you still pointing modules from 0.4 to 0.99999999999999. terraform-aws-cloudtrail/main.tf Line 616 in 984385b
change Also, I can't reopen issue, only create a new one |
That's a kind of "latest" pin
terraform-aws-cloudtrail/main.tf
Lines 617 to 619 in 006c2f3
In case, if something will be broken in version
0.9999
- all module versions from the time whenversion = "~> 0.3"
was introduced will become broken without any changes to the code.Which is a little bit violating https://reproducible-builds.org/ (a little bit, because the main reason this site is not about infra at all)
Regarding TF best practices:
it +- okay, because you manage both modules, and if you have cross-module change testing CI somewhere.
But if not - better not to have such floating stuff for modules. And update versions when you need or, automate these updates by Renovate/dependabot. For example, here is a quick start solution - https://github.com/SpotOnInc/renovate-config/.
The text was updated successfully, but these errors were encountered: