Skip to content

Commit

Permalink
Merge pull request #91 from Azure-Samples/pamelafox-patch-1
Browse files Browse the repository at this point in the history
Update main.bicep to call toLower on name
  • Loading branch information
pamelafox authored Oct 9, 2024
2 parents c7b531a + 0e1b7d5 commit 541dfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var embedConfig = {
param webAppExists bool = false

var resourceToken = toLower(uniqueString(subscription().id, name, location))
var prefix = '${name}-${resourceToken}'
var prefix = '${toLower(name)}-${resourceToken}'
var tags = { 'azd-env-name': name }

resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
Expand Down

0 comments on commit 541dfad

Please sign in to comment.