Azure / Azure/Azure-Verified-Modules

[Module Proposal]: `avm/utl/general/create-valid-az-resource-name`

Open
#1,156 23 comments 0 reactions 1 assignee Claimed by @SvenAelterman View on GitHub
Class: Utility Module :package: Language: Bicep :muscle: Needs: Attention :wave: Needs: Core Team :genie: Needs: Triage :mag: Status: In Triage :mag: Status: Owners Identified :metal: Type: New Module Proposal :bulb:
Dominant language
PowerShell
Stars
580
Forks
161
Avg merge
11h 3m
Merged PRs (30d)
15

Description

### Check for previous/existing GitHub issues/module proposals

- [X] I have checked for previous/existing GitHub issues/module proposals.

### Check this module doesn't already exist in the module indexes

- [X] I have checked for that this module doesn't already exist in the module indexes.

### Bicep or Terraform?

Bicep

### Module Classification?

I'm not sure, please advise

### Module Name

avm/utl/general/create-valid-az-resource-name

### Module Details

A module to create a valid Azure resource name given inputs such as naming convention structure, resource type, etc. It encodes the knowledge around character and length validity of resource names based on the resource type and it will generate a string which will be a valid (though not necessarily globally unique) resource name in Azure.

See an implementation at https://github.com/SvenAelterman/BicepTemplate/blob/main/common-modules/createValidAzResourceName.bicep

### Do you want to be the owner of this module?

Yes

### Module Owner's GitHub Username (handle)

SvenAelterman

### (Optional) Secondary Module Owner's GitHub Username (handle)

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.