2.198.0
Azure CLI task from public Azure DevOps agent.
Describe the bug
Referencing the ID of a Public IP without a Sku specified to a NAT Gateway resource passes validation, but deployment fails due to Basic Sku as default on the Public IP.
To Reproduce
Create Public IP Resource without a sku specified and reference it's ID on Nat Gateway resource.
az deployment group validate (passes)
az deployment group create (fails due to basic license on the public IP)
Additional context
Both the public ip and the Nat Gateway is created using 'for', not sure if that messes the referencing up.
main-bicep.txt
2.198.0 Azure CLI task from public Azure DevOps agent.
Describe the bug Referencing the ID of a Public IP without a Sku specified to a NAT Gateway resource passes validation, but deployment fails due to Basic Sku as default on the Public IP.
To Reproduce Create Public IP Resource without a sku specified and reference it's ID on Nat Gateway resource. az deployment group validate (passes) az deployment group create (fails due to basic license on the public IP) Additional context Both the public ip and the Nat Gateway is created using 'for', not sure if that messes the referencing up. main-bicep.txt