Skip to content

Conversation

@benemon
Copy link
Contributor

@benemon benemon commented Jan 14, 2025

I was doing research into Test Integrated Modules for a recent project, and it took me a little while to work out how to provide a test-specific provider configuration as there is no mention of this in the registry docs. Have added a link to the specific section of the terraform test docs that deal with this.

What

  • cloud-docs/test.mdx

Why

Provides clarity on how to implement test specific provider configurations when all module authorship guidelines currently state that a module should not own its provider configuration and should inherit it from the parent module.

Screenshots


Merge Checklist

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

Pull Request

  • One or more labels describe the type of change (e.g. clarification) and associated product (e.g. HCP Terraform ).
  • Description links to related pull requests or issues, if any.

Content

  • Redirects have been added to website/redirects.js for moved, renamed, or deleted pages.
  • API documentation and the API Changelog have been updated.
  • Links to related content where appropriate (e.g., 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.

I was doing research into Test Integrated Modules for a recent project, and it took me a little while to work out how to provide a test-specific provider configuration as there is no mention of this in the registry docs. Have added a link to the specific section of the terraform test docs that deal with this.
@vercel
Copy link

vercel bot commented Jan 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
terraform-docs-common ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2025 11:13pm

Copy link
Contributor

@rkoron007 rkoron007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such a great catch, thank you so much for adding this!

Copy link
Contributor

@rkoron007 rkoron007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the interest of getting this merged now, I added some minor style revisions, thank you so much for adding this! ✨

@rkoron007 rkoron007 merged commit 1590d01 into main May 27, 2025
1 of 2 checks passed
@rkoron007 rkoron007 deleted the add-provider-configuration-block branch May 27, 2025 23:09
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.

2 participants