Skip to content

Add module examples and submodules tools#344

Open
ayhammouda wants to merge 2 commits into
hashicorp:mainfrom
ayhammouda:feat/module-examples-submodules
Open

Add module examples and submodules tools#344
ayhammouda wants to merge 2 commits into
hashicorp:mainfrom
ayhammouda:feat/module-examples-submodules

Conversation

@ayhammouda

@ayhammouda ayhammouda commented Apr 25, 2026

Copy link
Copy Markdown

Summary

  • add get_module_examples and get_module_submodules registry tools
  • keep get_module_details focused on root module details plus example/submodule indexes
  • add unit and Docker e2e coverage for listing and selecting module examples/submodules

Closes #307

Validation

  • go test ./pkg/tools/registry ./pkg/tools ./pkg/toolsets
  • go vet ./pkg/tools/registry ./pkg/tools ./pkg/toolsets
  • go test ./cmd/terraform-mcp-server ./pkg/client ./pkg/resources ./pkg/tools ./pkg/tools/registry ./pkg/tools/tfe ./pkg/toolsets ./pkg/utils ./version
  • go vet ./cmd/terraform-mcp-server ./pkg/client ./pkg/resources ./pkg/tools ./pkg/tools/registry ./pkg/tools/tfe ./pkg/toolsets ./pkg/utils ./version
  • make test-e2e

@ayhammouda ayhammouda requested a review from a team as a code owner April 25, 2026 17:04
@hashicorp-cla-app

hashicorp-cla-app Bot commented Apr 25, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@ayhammouda ayhammouda force-pushed the feat/module-examples-submodules branch from 0286582 to 2e15736 Compare May 12, 2026 20:13
@ayhammouda

Copy link
Copy Markdown
Author

Hi! Quick follow-up on this PR since the checks are passing now.
Happy to adjust anything if needed. Thanks!

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.

Fetch module examples and submodules independently from get_module_details

1 participant