Skip to content

Conversation

@polatengin
Copy link
Member

@polatengin polatengin commented Feb 3, 2026

Fixes #14722

Description

build-params now evaluates for-expressions in parameter assignments by expanding them at compile time, avoiding variables() runtime evaluation errors.

I also added coverage for this scenario in both CLI integration tests and core unit tests.

Checklist

Microsoft Reviewers: Open in CodeFlow

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Test this change out locally with the following install scripts (Action run 21614500191)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 21614500191
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 21614500191"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 21614500191
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 21614500191"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

bicep(BCP338) when dynamically building inputs in .bicepparam files to reduce duplication

2 participants