Skip to content

Terraform Docs: Updates for dynamic module sources#2115

Open
dbanck wants to merge 3 commits intomainfrom
dbanck/dynamic-module-sources
Open

Terraform Docs: Updates for dynamic module sources#2115
dbanck wants to merge 3 commits intomainfrom
dbanck/dynamic-module-sources

Conversation

@dbanck
Copy link
Copy Markdown
Member

@dbanck dbanck commented Apr 1, 2026

What

This PR updates the documentation around module source and version attributes. Starting with Terraform 1.15 they now can be an expression that references variables and locals.

As soon as someone starts using dynamic module sources, Terraform will need values for these variables to load the full configuration. Because of that, most commands now accept variables via the CLI.

Why

Terraform 1.15 will ship with dynamic module sources and versions.


Merge Checklist

If items do not apply to your changes, add (N/A) and mark them as complete.

Pull Request

Content

  • You added redirects to content/terraform-docs-common/redirects.jsonc for moved, renamed, or deleted pages across all affected versions. Refer to Redirects for examples and guidance.
  • Links to related content where appropriate (e.g., CLI, language, API endpoints, permissions, etc.).
  • Pages with related content are updated and link to this content when appropriate.
  • Sidebar navigation files have been updated for added, deleted, reordered, or renamed pages.
  • New pages have metadata (page name and description) at the top.
  • New images are 2048 px wide. They have HashiCorp standard annotation color (#F92672) and format (rectangle with rounded corners), blurred sensitive details (e.g. credentials, usernames, user icons), and descriptive alt text in the markdown for accessibility.
  • New code blocks have the correct syntax and line breaks to eliminate horizontal scroll bars.
  • UI elements (button names, page names, etc.) are bolded.
  • The Vercel website preview successfully deployed.

Reviews

  • I or someone else reviewed the content for technical accuracy.
  • I or someone else reviewed the content for typos, punctuation, spelling, and grammar.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Wed Apr 1 16:03:50 UTC 2026
Unified Docs API ✅ Ready (Inspect) Visit Preview Wed Apr 1 15:59:53 UTC 2026

@dbanck dbanck changed the title Terraform Docs Terraform Docs: Updates for dynamic module sources Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Broken Link Checker

This PR contains broken links, but won't be blocked. Use this report to improve content quality:

Quick Actions

  • Internal links (HashiCorp sites): Please fix these - they impact user experience
  • External links: Consider if these are essential or can be updated/removed
  • Temporary issues: External sites may recover - check again before merging

Need Help?


Internal Links

Full Github Actions output

External Links

Full Github Actions output

@dbanck dbanck force-pushed the dbanck/dynamic-module-sources branch from 3cc1b99 to ea3fd9c Compare April 1, 2026 15:48
@dbanck dbanck marked this pull request as ready for review April 1, 2026 15:51
@dbanck dbanck requested review from a team as code owners April 1, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant