Open jongio opened 1 year ago
Can you please explain which part(s) of the message is confusing and how you would like it to be worded? Otherwise, we can add an aka.ms link for further information.
I also find the error BCP165
confusing. If user wants to reference the existing resource, he has the two properties that can fill: name
and scope
. Scope is needed if the resource is in a different scope, but if the user fills the scope
property with the same scope as the new resources will be created, instantly gets the mentioned error. In my opinion this is misleading and no error should be raised, only if the scope
of the existing and new resources will be different.
Maybe include a sample on how to fix it or a link to help to fix it?
If someone wants to suggest a reworded error, I'm happy to make the change! Leaving this open to collect suggestions.
I think something that says what you need to do would be good, like "add scope property to module instance" with an example....
I got this error message:
I couldn't wrap my head around it.
I had this:
But it turns out I didn't need to pass in the RG for scope, I can just set scope of the module when it is called like this:
It would be nice if the error message was updated with a sample on how to fix it.