Skip to content

Commit 541dfad

Browse files
authored
Merge pull request #91 from Azure-Samples/pamelafox-patch-1
Update main.bicep to call toLower on name
2 parents c7b531a + 0e1b7d5 commit 541dfad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var embedConfig = {
9797
param webAppExists bool = false
9898

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

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

0 commit comments

Comments
 (0)