Closed behrica closed 9 years ago
looking at the web interface, they show a tooltip when hovering over ams1
docklet_create(region = "ams2")
works fine for me
Yes, because ams2 allows userdata. So passing in "empty" user data (as my latest change does), is not a problem. By calling regions() you can see which regions allow user_data (the ones which have teh feature "metadata".
I have a fix already, to just not have user_data in the request body at all (if not given). I send a pull request soon.
My last change you pulled in, #54, caused it. Now doing: docklet_create(ssh_keys=c(42550),region="ams1")
gives
Error: This region does not support creating user data.
It seems that even "empty user data" makes the API call fail, if a region does not support it