Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AWS::CloudFormation::Stack] - [Enhancement] - Support More Character Types in Stack Names #2246

Open
commiterate opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@commiterate
Copy link

Name of the resource

AWS::CloudFormation::Stack

Resource name

No response

Description

Support more character types in stack names.

Cfn stacks are currently limited to 128 alphanumeric and dash characters. We'd like it expanded to include periods and other symbols.

Matching what's allowed for IAM role names would be preferred (alphanumerics and _+=,.@-).

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-rolename

Other Details

We'd like to be able to have a human-friendly "fully-qualified" name for all AWS resources. For example, suppose a service is organized hierarchically by:

  1. Stage
  2. Region
  3. Cell

We'd like to name a stack my-service.us-east-1.cell-0.my-stack, where period is used as the separator between level fragments.

Using fully qualified names lets us deploy multiple copies of a service into the same account during development (e.g. have cell 0 and cell 1 in the same personal development account).

Currently we have to use something like -- as the separator which can be difficult to read. For example, my-service--us-east-1--cell-0--my-stack.

@commiterate commiterate added the enhancement New feature or request label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant