Skip to content

feat: add customizable resource naming with snippymcplab branding#70

Merged
dbarkol merged 1 commit into
mainfrom
feat/customizable-resource-naming
Oct 30, 2025
Merged

feat: add customizable resource naming with snippymcplab branding#70
dbarkol merged 1 commit into
mainfrom
feat/customizable-resource-naming

Conversation

@dbarkol
Copy link
Copy Markdown
Member

@dbarkol dbarkol commented Oct 30, 2025

  • Replace random resourceToken with fixed 'snippymcplab' identifier
  • Add optional nameSuffix parameter for lab/cohort identification
  • Auto-generate 8-char suffix when nameSuffix not provided
  • Update all resource names to use new naming pattern
  • Handle special cases: storage account and task hub (no hyphens)
  • Add NAME_SUFFIX environment variable support in parameters

Resource naming examples:

  • With suffix: func-api-snippymcplab-56093778
  • Auto-gen: func-api-snippymcplab-a1b2c3d4
  • Storage: stsnippymcplab56093778 (no hyphens)
  • Task Hub: taskhubsnippymcplab56093778 (no hyphens)

All names validated and within Azure resource limits.

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

- Replace random resourceToken with fixed 'snippymcplab' identifier
- Add optional nameSuffix parameter for lab/cohort identification
- Auto-generate 8-char suffix when nameSuffix not provided
- Update all resource names to use new naming pattern
- Handle special cases: storage account and task hub (no hyphens)
- Add NAME_SUFFIX environment variable support in parameters

Resource naming examples:
- With suffix: func-api-snippymcplab-56093778
- Auto-gen: func-api-snippymcplab-a1b2c3d4
- Storage: stsnippymcplab56093778 (no hyphens)
- Task Hub: taskhubsnippymcplab56093778 (no hyphens)

All names validated and within Azure resource limits.
@dbarkol dbarkol self-assigned this Oct 30, 2025
@dbarkol dbarkol merged commit 4294e91 into main Oct 30, 2025
1 check passed
@dbarkol dbarkol deleted the feat/customizable-resource-naming branch October 30, 2025 18:42
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