@Ian: I have a quick fix for this which basically allows you to escape spaces anywhere inside a constraint string via a slash just as you would do in a shell, e.g:
But it looks like the PR you just linked (hasn't landed yet though) adds space support for all constraint KV pairs without the need to manually escape spaces so I guess we can go with that one instead since it looks like it has already been reviewed.
@Ian: I have a quick fix for this which basically allows you to escape spaces anywhere inside a constraint string via a slash just as you would do in a shell, e.g:
--constraints arch=amd64 instance-type=with\ spaces zones=az\ one,az2
But it looks like the PR you just linked (hasn't landed yet though) adds space support for all constraint KV pairs without the need to manually escape spaces so I guess we can go with that one instead since it looks like it has already been reviewed.
Also linking the relevant bug for zones: https:/ /bugs.launchpad .net/juju/ +bug/1847259