Skip to content

Commit ec23bc8

Browse files
Merge pull request #343 from microsoft/psl-solPrefix-fix
fix: Updated solutionPrefix param in main.bicep to ensure resources name should be unique in each deployment.
2 parents 1e47ba8 + 49434b6 commit ec23bc8

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
@@ -47,7 +47,7 @@ param gptModelCapacity int = 150
4747
@description('Set the image tag for the container images used in the solution. Default is "latest".')
4848
param imageTag string = 'latest'
4949

50-
param solutionPrefix string = 'macae-${padLeft(take(toLower(uniqueString(subscription().id, environmentName, resourceGroup().location)), 12), 12, '0')}'
50+
param solutionPrefix string = 'macae-${padLeft(take(toLower(uniqueString(subscription().id, environmentName, resourceGroup().location, resourceGroup().name)), 12), 12, '0')}'
5151

5252
@description('Optional. The tags to apply to all deployed Azure resources.')
5353
param tags object = {

0 commit comments

Comments
 (0)