Open brianstringfellow opened 2 years ago
Thank you for your reporting. Tagging and routing to the team member best able to assist.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Author: | brianstringfellow |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `bug`, `question`, `ARM - Templates`, `customer-reported` |
Milestone: | - |
@armleads-azure Do you have any updates on this issue.
Description
@dingmeng-xue @dcaro From discussion: https://github.com/Azure/azure-powershell/discussions/16106
Is it possible to specify a templateLink with a relativePath that traverses the parent or further ancestor folders?
The error message I see indicates it is not possible.
"message": "The artifact path '..\\Resources\\resourceGroups.json' is not supported. Artifact paths cannot contain '..' or '.' relative path segments."
Yet, I saw an example used in the following issue that seems to imply it does work.
13998 (comment)
Also, I can see in the debug output that the Cmdlet does find and read the linked template because the HTTP PUT call is including the linked template in the body of the call. Perhaps there is some small detail that I am missing.
DEBUG: AzureQoSEvent: Module: Az.Resources:4.4.0; CommandName: New-AzTemplateSpec; PSVersion: 7.1.5;
Issue script & Debug output
Environment data
Module versions
Error output