Skip to content

BICEP Output Variables Issue #11612

@rlittler

Description

@rlittler

I am capturing bicep output params on my pipeline agent as per my YAML AzureCLI@2 task. I then try to reference the output var in the subsequent AzurePowershell@4 task:

'-Workspace $(bicepOutputs.LogAnalyticsWorkspaceId) -RulesFile sentinelArtefacts/sentinelAnalyticsRules/analyticsRules.json'

image

I can see the vars being stored

image

However, when my subsequent PS4 task tries to run, I receive the following error:

image

For reference: this is my PS script I am calling and passing my output var to:

image

Any ideas? :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions