Skip to content

release: decouple test_plan/test_apply from Terraform Registry indexing#531

Merged
elsegev merged 1 commit into
devfrom
fix-release
May 20, 2026
Merged

release: decouple test_plan/test_apply from Terraform Registry indexing#531
elsegev merged 1 commit into
devfrom
fix-release

Conversation

@elsegev
Copy link
Copy Markdown
Collaborator

@elsegev elsegev commented May 12, 2026

Release 1.7.35 was blocked because the GitHub → Terraform Registry webhook didn't index the new tag for 21 of 25 modules (had to be manually resynced one-by-one in the registry UI by the sole publisher account). Since test_plan/test_apply ran terraform init against the registry, they failed with Unresolvable module version constraint, which blocked the rest of the release flow.

This PR makes the release self-contained: test_plan and test_apply now consume the in-repo modules (the same code deploy_modules publishes to the per-module repos), so the registry indexing delay can no longer block a release. Customers continue to consume from imperva/dsf-*/aws etc. as before — registry indexing runs as a separate concern.

Also adds scripts/check_registry_versions.sh which lists which modules are still behind a given version on the registry and prints clickable resync URLs.

Switch test_plan and sonar_poc_cli post-release jobs to use in-repo
modules instead of the Terraform Registry. The GitHub → Terraform
Registry webhook can be delayed or dropped, as happened in release
1.7.35 where tags were pushed to all per-module repos but never
indexed, causing test_plan to fail with "Unresolvable module version
constraint".

Also add scripts/check_registry_versions.sh to verify that a given
release tag has been indexed on the registry for every per-module
repo, with guidance to manually trigger a resync when needed.
@elsegev elsegev merged commit a7b0bd5 into dev May 20, 2026
8 checks passed
@elsegev elsegev deleted the fix-release branch May 20, 2026 16:48
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.

1 participant