Related command
az deployment group create
Is your feature request related to a problem? Please describe.
I don't want to parse the --what-if text output.
Describe the solution you'd like
Add an additional flag to az deployment group create to control --what-if output. Return an integer indicating the result rather than text. For example, like Terraform's -detail-exitcode parameter.
0 = Succeeded with empty diff (no changes)
1 = Error
2 = Succeeded with non-empty diff (changes present)
Describe alternatives you've considered
Parsing the output with a script, which is pretty ugly.
Additional context
Related command
az deployment group createIs your feature request related to a problem? Please describe.
I don't want to parse the
--what-iftext output.Describe the solution you'd like
Add an additional flag to
az deployment group createto control--what-ifoutput. Return an integer indicating the result rather than text. For example, like Terraform's-detail-exitcodeparameter.Describe alternatives you've considered
Parsing the output with a script, which is pretty ugly.
Additional context