HomecareHomebase / azure-bake

An Open Source Deployment Management Framework for DevOps and Developers
MIT License
9 stars 14 forks source link

Bake Variable Not Resolving within Array of Objects #116

Closed bdschaap closed 4 years ago

bdschaap commented 5 years ago

A Bake variable that's referenced within an array of objects does not resolve the variable. Instead, it passes a literal string of _[coreutils.variable('OPS_GENIE_AZURE_MONITOR_APIURL')] to the arm template.

Bake Recipe snippet

      parameters:
        actionGroupName: "[coreutils.create_resource_name('act','opsgenie', false)]"
        actionGroupShortName: "opsgenie"
        webhookReceivers:
        - name: opsgenieHook
          serviceUri: "[coreutils.variable('OPS_GENIE_AZURE_MONITOR_API_URL')]"
whilke commented 4 years ago

the ingredient has to convert and execute that as a bake variable. We only auto-convert all top level variables, and parameters right now.