Configure Azure

Admin Right

You are going to be mounting wim files, so yes, this is an absolute with no way around it

Function

For this we have a single function invoke-AzOSDAzureConfig that admits several parameters. It has two parameterSetName one for Bicep and one for Terraform

  • ParameterSetName Bicep

  • Location : corresponding Azure region

  • ResourceGroupName : corresponding the resource group create in Azure

invoke-AzOSDAzureConfig -Location westeurope -ResourceGroupName osdclouddemo
  • ParameterSetName Terraform

  • UseTerraform : Is boolean parameter

PS C:\Users\JM2K69> invoke-AzOSDAzureConfig -UseTerraform $true

The function uses the command Connect-AzAccount -UseDeviceAuthentication for the authentication part with Bicep and for the Terraform part we will use Azure Cli with az login --use-device-code

Terraform execution

Terraform.tfvars

Execution

Verify in Azure

Resource groups

Resource Group in Azure portal

Storage account properties

Tag, all properties are set.

Acces Control (IAM)

Last updated

Was this helpful?