~/azure-bicep-reference — bash
# Ch4: what-if against a storage name that does not exist yet
# Preview only — nothing is created
$ export CLASS_RG=rg-hyf-students
$ az deployment group what-if \
--resource-group "$CLASS_RG" \
--template-file main.bicep \
--parameters storageName=sthyfyourname
Resource and property changes are indicated with these symbols:
+ Create
* Ignore
Scope: /subscriptions/.../resourceGroups/rg-hyf-students
+ Microsoft.Storage/storageAccounts/sthyfyourname
+ Microsoft.Storage/storageAccounts/sthyfyourname/blobServices/default
+ Microsoft.Storage/storageAccounts/sthyfyourname/blobServices/default/containers/raw
Resource changes: 3 to create.
# + means Azure would create these — what-if did not apply them