Module Registry: Display .tf source files in the Examples tab

When a Terraform module includes an examples/ folder, the Spacelift Module Registry only shows a README (if one exists) under the Examples tab. There is no display of the actual .tf files (e.g. main.tf) that contain the example configuration. This mirrors a known limitation in the public Terraform Registry.

The Examples tab in the Spacelift Module Registry renders only the README for a given example subfolder. If no README exists, nothing is displayed at all. The actual .tf files are not surfaced anywhere in the UI.

The .tf files within an examples/<name>/ subfolder should be displayed directly in the UI β€” either alongside or as a fallback to the README β€” so users can understand how to use the module without navigating to the source code repository.

Looking to render .tf files from the examples/<name>/ directory in a syntax-highlighted code view within the Examples tab, either as additional tabs per file or as a collapsible file tree below the README.

Workaround
-
Problem
-

Please authenticate to join the conversation.

Upvoters
Status

πŸ‘€ In Review

Board

πŸ’‘ Feature Requests

Tags

UI/UX

Date

1 day ago

Subscribe to post

Get notified by email when there are changes.