Skip to content

Commit 48f4b19

Browse files
authored
[Identity] Update test-resources bicep (#43304)
The vmSize for the AKS resource was updated to an SKU that is available in our subscription/location. Explicit PrincipalType fields were removed from role assignments that could potentially be user principals. Azure can automatically determine the type. Signed-off-by: Paul Van Eck <[email protected]>
1 parent 417277d commit 48f4b19

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sdk/identity/test-resources.bicep

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ resource webRole 'Microsoft.Authorization/roleAssignments@2022-04-01' = if (prov
9595
properties: {
9696
principalId: testApplicationOid
9797
roleDefinitionId: websiteContributor
98-
principalType: 'ServicePrincipal'
9998
}
10099
}
101100

@@ -105,7 +104,6 @@ resource webRole2 'Microsoft.Authorization/roleAssignments@2022-04-01' = if (pro
105104
properties: {
106105
principalId: testApplicationOid
107106
roleDefinitionId: websiteContributor
108-
principalType: 'ServicePrincipal'
109107
}
110108
}
111109

@@ -304,7 +302,7 @@ resource kubernetesCluster 'Microsoft.ContainerService/managedClusters@2023-06-0
304302
{
305303
name: 'agentpool'
306304
count: 1
307-
vmSize: 'Standard_D2s_v3'
305+
vmSize: 'Standard_D2s_v6'
308306
osDiskSizeGB: 128
309307
osDiskType: 'Managed'
310308
kubeletDiskType: 'OS'

0 commit comments

Comments
 (0)