aws / aws/aws-toolkit-vscode

CloudFormation: validate stack name prior to publish

Open
#1,427 3 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

If you enter a stack name such as ABC, the publish will get to the final stage of cloudformation and then will give an error:

Error creating CloudFormation change set: 1 validation error detected: Value 'ABC' at 'stackName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*|arn:[-a-zA-Z0-9:/._+]*

Please can you add this constraint to the AWS Publish dialog stackname field.

Contributor guide

Open the contributing guide

Research direction

Start with the AWS Publish dialog's stack name field and trace where its value is validated before CloudFormation publishing. Verify that names such as ABC are rejected before publish, while values matching the reported CloudFormation constraint can proceed without this validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.