зеркало из https://github.com/Azure/ARO-RP.git
fix AzSecPack managed identity resource id
This commit is contained in:
Родитель
aefd34e97b
Коммит
5338e08f21
|
@ -407,7 +407,7 @@
|
|||
"identity": {
|
||||
"type": "UserAssigned",
|
||||
"userAssignedIdentities": {
|
||||
"[resourceId('AzSecPackAutoConfigRG', 'Microsoft.ManagedIdentity/userAssignedIdentities', concat('AzSecPackAutoConfigUA-', resourceGroup().location))]": {}
|
||||
"[resourceId('AzSecPackAutoConfigRG', 'Microsoft.ManagedIdentity/userAssignedIdentities', 'AzSecPackAutoConfigUA-eastus')]": {}
|
||||
}
|
||||
},
|
||||
"name": "dev-proxy-vmss",
|
||||
|
|
|
@ -117,7 +117,7 @@ func (g *generator) devProxyVMSS() *arm.Resource {
|
|||
Identity: &mgmtcompute.VirtualMachineScaleSetIdentity{
|
||||
Type: mgmtcompute.ResourceIdentityTypeUserAssigned,
|
||||
UserAssignedIdentities: map[string]*mgmtcompute.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue{
|
||||
"[resourceId('AzSecPackAutoConfigRG', 'Microsoft.ManagedIdentity/userAssignedIdentities', concat('AzSecPackAutoConfigUA-', resourceGroup().location))]": {},
|
||||
"[resourceId('AzSecPackAutoConfigRG', 'Microsoft.ManagedIdentity/userAssignedIdentities', 'AzSecPackAutoConfigUA-eastus')]": {},
|
||||
},
|
||||
},
|
||||
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
|
||||
|
|
Загрузка…
Ссылка в новой задаче