Skip to content

Difficulty converting to use 3.* preview for the Create Azure DevTest Labs VM task #904

@DerekSMorin

Description

@DerekSMorin

In the 2.* version we only passed a bunch of template parameters.

image

image

I tried to convert to 3.* but then I needed to use a parameters file.

I tried to make a parameters file with all defined as strings with blank values. Then I tried passing all variables as I did before using the Parameter Overrides.

image

First I had tried only using the parameter overrides but in both cases I got:

2024-10-05T01:41:34.8378982Z '{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"RequiredPropertyNullOrEmpty\",\r\n \"message\": \"Property userName is either missing or empty.\"\r\n }\r\n}"}]}}',

Is there a trick to passing variables from the pipeline to parameters list?

I also created: #903

This issue (using 3.* preview) is part of me trying to work around the problems I was having with the non-preview versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions