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

Outputs Must Be Present In Template Parameters #736

Closed
noapocalypse opened this issue Apr 18, 2023 · 1 comment
Closed

Outputs Must Be Present In Template Parameters #736

noapocalypse opened this issue Apr 18, 2023 · 1 comment

Comments

@noapocalypse
Copy link

Outputs Must Be Present In Template Parameters 5ms
WriteErrorException: output location does not exist in template.parameters
at , /home/runner/work/X/X/arm-ttk/arm-ttk/testcases/CreateUIDefinition/Outputs-Must-Be-Present-In-Template-Parameters.test.ps1

Hi, i;'ve spent hours moving the location parameter all over the shop.

I've copied the location param examples from the MS test cases sites and made sure it's in the UIDef file and the azuredeploy file.

Yet i still get the above error.

No matter where the location parameter seems to be set this fails. And yet all the other tests for location parameter are able to run correctly. So if i hardcode a region as an example it picks it up from the params object and identifies the issue etc.

image
I've tried changing the default value to various things to no avail.
And adding an output for location into the azuredeploy.json.

image
It even fails against the MS sentinel all in one location params.

Any help to get this working would be appreciated

@ghost ghost added the Needs: triage 🔍 label Apr 18, 2023
@noapocalypse
Copy link
Author

We have found a fix for this. Apologies, it was not an issue with the TTK rather it was an issue in how the https://github.com/microsoft/action-armttk was importing the TTK, we @fujiant have raised a pull request on the back of identifying the issue microsoft/action-armttk#7

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

No branches or pull requests

1 participant