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

VS Code ARM extension does not recognize reduce, lambda and lambdaVariables functions #1594

Open
ugreg opened this issue May 26, 2023 · 1 comment
Labels

Comments

@ugreg
Copy link
Member

ugreg commented May 26, 2023

I am using the Azure Resource Manager (ARM) ToolsPreview extension in my ARM template development.

image

In my ARM template I am facing several issues related to Unrecognized function name 'FUNCTION_NAME'.arm-template (expressions), but the ARM JSON is deploys without issue using this command az deployment tenant create --location WestUS --template-file arm.json.

Here is the main code related to this error.

  "variables": {
    "$fxv#0": {
      "tag": {
        "tagName": "tagValue"
      }
    },
    "complexProperty": "[reduce(parameters('param1'), createObject(), lambda('prev', 'cur', union(lambdaVariables('prev'), createObject(format('{0}', lambdaVariables('cur').id), lambdaVariables('cur')))))]"
  }

image

image

image

@StephenWeatherford StephenWeatherford added this to the v0.15.11 (July) milestone Jul 10, 2023
@StephenWeatherford StephenWeatherford removed this from the v0.15.11 (August) milestone Aug 24, 2023
@jeremyhagan
Copy link

This is still happening on version 0.15.12 over a year later. Any sign of it being incorporated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants