Attempting to create a directory mapping with a name such as
Why are leading digits disallowed? Could the restriction be lifted?
It unfortunately precludes using the UUID (such as
4444, you get an error message saying "Parameter verification failed. (400)" and "id: invalid format - invalid configuration ID '4444'". The rule for what is valid might be this one:
Perl:
our $CONFIGID_RE = qr/[a-z][a-z0-9_-]+/i;
Why are leading digits disallowed? Could the restriction be lifted?
It unfortunately precludes using the UUID (such as
5e5b6a32-8890-47fc-96ca-abf67908fc0d) of a VM as the tag of the directory it is allowed to mount. That would have been useful. Instead, you now have to prefix the UUID with at least one letter, which then makes the whole tag too long (there is a 36 character limit), so you have to also remove the dashes from the UUID. This complicates code wherever the tag has to be handled, and makes operation more difficult to remember too.