ci: pin the self-managed Terraform modules to a tag instead of main - #38740
Open
bobbyiliev wants to merge 2 commits into
Open
ci: pin the self-managed Terraform modules to a tag instead of main#38740bobbyiliev wants to merge 2 commits into
bobbyiliev wants to merge 2 commits into
Conversation
Contributor
Author
|
As we discussed during the cloud sync yesterday, pinning this and setting up dependabot. |
alex-hunt-materialize
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
test/terraformroots sourced every self-managed module atref=main, so an upstream merge reached the nightly with no PR-time signal and no owner. DEP-200 moved the modules to AWS provider v6 and EKS module v21, the next nightly 4h50m later failed atterraform initon an unsatisfiable provider constraint, and both AWS steps stayed red for two weeks (DEP-245). Pinning turns that into a dependabot PR someone has to look at, and lets the roots be adapted in the same change as the bump that requires it. All 70?ref=mainoccurrences across the five roots move tov13.2.1, and aterraformecosystem entry is added to dependabot so bumps keep arriving.v13.2.1is the tag at upstreammain's current HEAD (09ab1c9), so this changes nothing about what the nightly runs today; it only changes how future upstream changes reach us. A tag rather than a commit SHA because dependabot does not reliably bump SHA refs (dependabot/dependabot-core#10787). The GCP and Azure roots are pinned too even though their nightlies are skipped, since leaving a floating ref behind just preserves the hazard for whenever they come back.Test plan
terraform init -backend=falseandterraform validatepass onaws-temporarywith the pinned refs, with every module resolving atv13.2.1, andterraform fmt -check -recursiveis clean. Because the pin equals currentmain, the AWS nightlies are the same check they were before this change rather than a new one. One thing to watch on the first dependabot run: upstream carries monorepo tags such asmaterialize-monitoring/v0.21.0alongside thevX.Y.Zreleases, and mixed tag namespaces on one repo have caused redundant PRs before (dependabot/dependabot-core#4616).🤖 Generated with Claude Code