-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Improve validation to catch use of armID as name #3019
Milestone
Comments
We can also consider doing more coverage of cross-resource references in a hand-held end to end sample |
This seems like something that's probably pretty easy to do? This name: Also can, if we see |
2 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Describe the current behavior
A user inadvertently set up a resource reference this way:
This didn't work, as the expected structure for references using ARM IDs is this:
Describe the improvement
The error message was accurate, but not as informative as it could be.
I'm wondering if we could improve the error handling to detect the case where something goes wrong and
name
has been populated with something that looks more like anarmID
than it does like aname
.Perhaps something like some of the errors from git where it gives a suggestion. For example, what if the error included
name looks like it might be an ARM ID; did you mean armID: /subscriptions/<rest of the ARM ID> ?
The text was updated successfully, but these errors were encountered: