AZ104- Lab: Azure Bicep - permission denied error when i try to deply bciep template

using this lab command : az deployment group create --resource-group kml_rg_main-23d8a5373fcd4462 --template-file /root/bicep-template/vnet.bicep

To deploy modified vnet.bicep template. I am getting an Error as : Access to the path ‘/root/bicep-template/vnet.bicep’ is denied.

Where should I set the access permissions? so that azure cli should be able to deploy this.

Where are you running the command? In the lab environment you’re already the root user, and the command “just works”. See the solution tab for step 7/8.