Skip to content

Instantly share code, notes, and snippets.

View Usman0111's full-sized avatar

Muhammad Usman Usman0111

  • Houston, TX
View GitHub Profile

Questions for inline params validation with validate-params vs build-params command

1. Do we want to perform inline param validation when no value for --template is given with Az Cli?

Example,

az deployment group create \
--parameters 'params.bicepparam' \

Supplemental Params Validation Design

Lets say a user makes the following deployment with Az CLI:

az deployment group create \ 
--template-file 'main.bicep'
--parameters 'params.bicepparam' \
--parameters foo='inline'