MicrosoftLearning / AZ500-AzureSecurityTechnologies

Microsoft Azure Security Technologies
https://microsoftlearning.github.io/AZ500-AzureSecurityTechnologies/
MIT License
858 stars 827 forks source link

Update LAB_07_ConfiguringandSecuringACRandAKS.MD #401

Closed PiotrMackowski closed 10 months ago

PiotrMackowski commented 10 months ago

The AKS_VNET is created in the new resource group named MC_AZ500LAB09_MyKubernetesCluster_eastus that holds components of the AKS Nodes. Not in the RG_AKS. Added RG_VNET and changed references to the VNET.

Not sure how to go about the custom VNET name.

Module: AZ-500

Lab/Demo: 07

Fixes # . The original bash code results in the following:

az role assignment create --assignee $AKS_MANAGED_ID --role "Contributor" --scope $AKS_VNET_ID ERROR: (ResourceNotFound) The Resource 'Microsoft.Network/virtualNetworks/AZ500LAB09-vnet' under resource group 'AZ500LAB09' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix Code: ResourceNotFound Message: The Resource 'Microsoft.Network/virtualNetworks/AZ500LAB09-vnet' under resource group 'AZ500LAB09' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix argument --scope: expected one argument

Changes proposed in this pull request:

-

-