Skip to content

feat: resolve latest module releases to exact export pins - #5

Merged
jwmoss merged 3 commits into
mainfrom
fix/module-validation-and-version-resolution
Sep 16, 2026
Merged

jwmoss merged 3 commits into
mainfrom
fix/module-validation-and-version-resolution

Conversation

@jwmoss

@jwmoss jwmoss commented Sep 16, 2026

Copy link
Copy Markdown
Member

Add --module-version latest --scaffold for public Terraform Registry modules. Resolve each selected resource module independently and write exact versions into the generated root. Keep the tested default offline and advance it to module version 1.0.1. Reject unsupported sources; stop before writes when resolution fails.

Validation: DATATF_TELEMETRY=0 make check and make e2e pass. Both export layouts and both ownership scopes also pass import-only and clean post-import plans against the final local candidate modules. The latest path passes the same four checks with real public Registry lookups and the fake workspace. Module suites contain 100 passing Terraform tests; resource modules pass with providers 1.128.0 and 1.130.0. CI is green on all 12 PRs.

All ten resource modules and the workspace pattern are published as 1.0.1. The workspace pattern pins each child at 1.0.1. DataTF 1.1.0 defaults to these tested versions. Both layouts and scopes pass import-only and clean post-import plans against the published modules, including real Registry lookups with latest. Arbitrary future latest releases still require plan review.

Related PRs:

Review: AutoReview ran with GPT-6 Astra (xhigh) and Claude Fable 5.1 (high) through P2 across all 12 PRs. Confirmed findings are fixed and covered by regression tests: stable build-metadata versions, nullable provider defaults, and provider-supported service-credential bindings. The reported cluster-policy test failure does not reproduce with either supported provider version or in CI. No known actionable finding remains. Follow-up fixes pass tests and CI; this does not claim a second full review of every follow-up commit.

@jwmoss
jwmoss merged commit 118807a into main Sep 16, 2026
4 of 6 checks passed
@jwmoss
jwmoss deleted the fix/module-validation-and-version-resolution branch September 16, 2026 20:01
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