Skip to content

fix(ske-starterkit): lowercase and sanitize project name for K8s compatibility#157

Merged
grubmeshi merged 1 commit intomainfrom
sanitize-ske-starterkit-identifier
Apr 21, 2026
Merged

fix(ske-starterkit): lowercase and sanitize project name for K8s compatibility#157
grubmeshi merged 1 commit intomainfrom
sanitize-ske-starterkit-identifier

Conversation

@grubmeshi
Copy link
Copy Markdown
Collaborator

No description provided.

…atibility

Apply lower() and sanitize special characters from var.name before using
it as project/namespace identifier. This matches the approach used by
the AKS starterkit.

- Removes special characters except alphanumeric, spaces, and hyphens
- Converts spaces to hyphens
- Lowercases the entire name
- Allows users to input mixed-case names while ensuring K8s compliance

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@grubmeshi grubmeshi self-assigned this Apr 21, 2026
@aws-amplify-eu-central-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-157.d1o16zfeoh2slu.amplifyapp.com

@grubmeshi grubmeshi merged commit be5672d into main Apr 21, 2026
3 checks passed
@grubmeshi grubmeshi deleted the sanitize-ske-starterkit-identifier branch April 21, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant