You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When building a bicep parameter file that is referring a compile-time imported variable, which is linked to a UDF, the following compilation error is thrown: Unhandled exception during evaluating template language function 'variables' is not handled.
To Reproduce
I've included a project as attachment to reproduce the situation.
build.ps1 --> main.bicepparam --> throws the error
Thank you for sharing the detailed repro! I believe this has been fixed with #12900.
Tested with the following:
cd bicep-udt-compiletimeimport-bicepparam-variables
# Install the latest nightly release
iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -BinaryPath ."# Run the repro with the nightly build& ./bicep build-params main.bicepparam --outfile main.parameters.json
Bicep version
Bicep CLI version 0.24.24 (5646341)
Describe the bug
When building a bicep parameter file that is referring a compile-time imported variable, which is linked to a UDF, the following compilation error is thrown:
Unhandled exception during evaluating template language function 'variables' is not handled.
To Reproduce
I've included a project as attachment to reproduce the situation.
build.ps1 --> main.bicepparam --> throws the error
Additional context
See attachment:
bicep-udt-compiletimeimport-bicepparam-variables.zip
The text was updated successfully, but these errors were encountered: