hashicorp / hashicorp/terraform-docs-common

Implement Service Discovery Protocol

Open
#835 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
36
Forks
133
PR merge metrics
No merged PRs in 30d

Description

We need to implement the service discovery protocol endpoint as per the Registry API spec at /.well-known/terraform.json

Tasks:
- Implement /.well-known/terraform.json endpoint
- Return proper modules.v1 base URL with trailing slash
- Ensure all module URLs are relative to this base URL
- Update nginx config to route this endpoint correctly

Required Response should return modules.v1 with /v1/modules/ value

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Registry API specification for /.well-known/terraform.json and inspect the repository's nginx configuration. Verify the endpoint returns modules.v1 with a trailing-slash base URL and that module URLs are relative to it, then confirm nginx routes the endpoint correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
api, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.