ModusCreateOrg / ModusCreateOrg/capsule

Add RegEx to ensure Project Name is valid for S3 bucket

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue MVP2
Dominant language
JavaScript
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Can somebody please clean up the CloudFormation in this file:

https://github.com/ModusCreateOrg/capsule/blob/master/ci/s3_cloudformation.cf

We need a RegEx adding to ensure the project name is valid for use in an S3 bucket. Currently, there is no validation on the name as per the description:

Description: "Name of the project. TODO: Add validation regex"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open ci/s3_cloudformation.cf and locate the Project Name parameter described as needing a validation regex. Review the CloudFormation parameter definition and the S3 bucket naming requirement, then add validation that rejects unsuitable project names and accepts suitable ones. No test file is mentioned, so verify the template’s parameter validation directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.