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

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

Open
DerekSMorin opened this issue Oct 7, 2024 · 0 comments

Comments

@DerekSMorin
Copy link

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.

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

No branches or pull requests

1 participant