skip to Main Content

Is there a way to get the current values for a standalone ARM template without using PowerShell, and without resorting to running az deployment group create?

Standalone means that the ARM template is NOT linked to any other ARM templates. Instead, a standalone ARM template is just run one-off on a standalone basis.

Our requirement is that we NOT use PowerShell or other dependencies.

We are looking for something that is equivalent to terraform output but for ARM templates.

Given that there is a way to do this with PowerShell, there must be some other easy way. Perhaps using the CLI, or perhaps with some custom function.

2

Answers


  1. A template must be linked in order to produce outputs.

    Just nested template doesn’t produce outputs, you’ll get an error if will try to reference it:

    The language expression property ‘outputs’ doesn’t exist, available properties are ‘template, templateHash, parameters, mode, debugSetting, provisioningState, validationLevel’.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search