Input Variable Separation in the READMEs
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- terraform
- Domain
- documentation
Research direction
Start with the generated Inputs sections in the module READMEs and the template referenced by the issue, then inspect the related build-harness tooling. Identify how variables such as context, additional_tag_map, and id_length_limit are currently described and how module-specific inputs such as s3_bucket_name could be separated. Done means generated READMEs present these groups in distinct, easy-to-find tables.
Written by the indexing model from the issue text.
Description
Describe the Feature
First of all, apologies if this is not the correct repository in which to file this issue.
It'd be really nice if, in the READMEs of module repositories based on this template, the input variables that were actually from the module itself were documented in a separate table from the input variables related to Cloudposse's generalized system for generating resource names (e.g. involving terraform-label-null). Wading through a sea of generally-irrelevant properties like context, additional_tag_map, id_length_limit, label_key_case, etc., to find the properties you actually care about (which will vary by module but include things like s3_bucket_name on the aws-transfer-sftp module) is pretty frustrating.
Expected Behavior
It should be easy to find the properties you actually care about when configuring your infrastructure.
Use Case
I want to use Cloudposse's high-quality Terraform modules.
Describe Ideal Solution
A clean, easy to read table of input variables for each module that only shows the variables that actually impact the properties of the resources that the module provisions, with a separate table to document the input variables used to fine-tune minutiae of auto-generated resource names. Ideally, the template provided by this repository (and the associated build tooling in other repositories like build-harness) could have a straight-up list of properties to sequester in their own table. Alternatively, these properties could be flagged using some marker text in their descriptions, which the tooling could act on.
Alternatives Considered
I often just write my own ad-hoc modules rather than using Cloudposse modules. Which is stupid, they're useful, high-quality modules. But they're just so unpleasant to acquaint yourself with.
Additional Context
Below is a screenshot from the "Inputs" section of the readme from the cloudposse/terraform-aws-transfer-sftp repository. I've marked in green those inputs that concern actual, functional details of the infrastructure being provisioned, marked in red those inputs that concern Cloudposse's general scheme for constructing resource names and tags, and marked in blue those inputs that don't cleanly fall into either other group (e.g. the enabled input).

- Dominant language
- HCL
- Stars
- 172
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudposse/terraform-example-module
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 45/100
All issues in cloudposse/terraform-example-module
Similar issues
-
area/frontend good first issue topic/intents
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
aws-samples/sample-collaborative-ai-dlc#1049 ·
Maintainers usually reply within 1 day
-
是不是只能用 Claude 系列模型Open
Difficulty 1/5 Under an hour Newbie friendliness 76/100
alchaincyf/huashu-design#67 ·
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ChurchCRM/docs.churchcrm.io#350 ·
Maintainers usually reply within 1 day