We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9e7b4f + 054fed3 commit 1cfe257Copy full SHA for 1cfe257
1 file changed
infra/main.bicep
@@ -69,8 +69,7 @@ param azureExistingAIProjectResourceId string = ''
69
70
var solutionLocation = empty(AZURE_LOCATION) ? resourceGroup().location : AZURE_LOCATION
71
72
-var uniqueId = toLower(uniqueString(environmentName, subscription().id, solutionLocation))
73
-var solutionPrefix = 'dg${padLeft(take(uniqueId, 12), 12, '0')}'
+var solutionPrefix = 'dg${padLeft(take(toLower(uniqueString(subscription().id, environmentName, resourceGroup().location,resourceGroup().name)), 12), 12, '0')}'
74
75
// ========== Resource Group Tag ========== //
76
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
0 commit comments