Update Terraform registry links and auto-fetch versions at build time#1210
Open
Update Terraform registry links and auto-fetch versions at build time#1210
Conversation
- Rename module repo links from vmseries-modules to swfw-modules - Add build-time script to fetch latest stable versions from the Terraform Registry API, filtering out pre-release versions - Replace hardcoded latestTag values with dynamic lookups from fetched JSON - Hook the fetch script into the getAllFeeds build step Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 2332145): https://pan-dev-f1b58--pr1210-c980fqkp.web.app (expires Fri, 24 Apr 2026 11:47:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 9359a9fa100d5fdb082f75280473a90b1f96eb51 |
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.
Summary
vmseries-modulestoswfw-modulesacross Terraform landing page constants and auto-generated docsscripts/fetchTerraformVersions.js), replacing all hardcodedlatestTagvalues for providers and modules3.0.0-rc.1) so only stable releases are displayedsrc/data/terraform-versions.json(checked into git)Test plan
node scripts/fetchTerraformVersions.jsfetches correct stable versionsswfw-modules/awsv3.0.0-rc.1) are filtered outyarn start:netsecand verify the Terraform landing page shows correct version tagsyarn buildcompletes successfully with the new fetch step🤖 Generated with Claude Code