Closed kannanMSFT closed 2 years ago
Thanks to @stuartko for following up. For some reason we are unable to reproduce this issue anymore. The template is exactly the same as above in the issue, but I don't get the error message anymore. So maybe something has changed in the backend or az cli. Not sure. With that I am closing this issue.
I am running into the following issue.
I have a main template that does deployments. I am trying to create two eventgrid topic subscriptions using a common linked template ("artifacts/addQueueEventSubscriptionToEventGridTopic.json"). But the moment I add the second deployment using the same linked template I get the error "(TemplateSpecVersionInvalidArtifactPath) The artifact path 'artifacts/addQueueEventSubscriptionToEventGridTopic.json' is not supported. An artifact path should be unique and not contain any expressions.". If I remove the second deployment which seems fine to me, it doesn't report this error.
Why does the artifact path be unique in the main template? Because it then defeats the purpose of modularization.