Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment() as bicep parameter file function #13607

Open
schaijkw opened this issue Mar 13, 2024 · 1 comment
Open

Add environment() as bicep parameter file function #13607

schaijkw opened this issue Mar 13, 2024 · 1 comment
Labels
enhancement New feature or request Needs: Upvote This issue requires more votes to be considered

Comments

@schaijkw
Copy link

Is your feature request related to a problem? Please describe.
The Bicep Linter is complaining about a disallowed host that cannot be resolved from the bicepparam file.

Describe the solution you'd like
Currently there are 2 functions available in bicepparam files, see https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-parameters-file
I would like to see environment() supported as well to resolve this issue and I can apply the fix that is suggested by the Linter.

image

@anthony-c-martin
Copy link
Member

We shouldn't be flagging this in .bicepparam files, so I've submitted #13608 to address this.

anthony-c-martin added a commit that referenced this issue Mar 13, 2024
…13608)

Raised under #13607. This doesn't address the ask for the
`environment()` function, but does ensure we avoid surfacing a warning
that can't be actioned.
@stephaniezyen stephaniezyen added Needs: Upvote This issue requires more votes to be considered and removed Needs: Triage 🔍 labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Needs: Upvote This issue requires more votes to be considered
Projects
Status: Todo
Development

No branches or pull requests

3 participants