After thinking about this for a bit, there are a couple of options.
#1) Change the help text for "--size" (and --datastore, --datastore_version) to indicate that they might be required depending on the deployment.
#2) Add something to the API that returns information about the default_datastore, whether volume_support is True, whether Security Groups are on, etc. The python-troveclient can then query the API, and then use contrib/extensions to surface flags (or modify them) dynamically.
@SlickNik, @vipuls, @hub_cap thoughts? #2 seems like a long-term approach, so perhaps #1 is a necessary stop-gap.
After thinking about this for a bit, there are a couple of options.
#1) Change the help text for "--size" (and --datastore, --datastore_ version) to indicate that they might be required depending on the deployment.
#2) Add something to the API that returns information about the default_datastore, whether volume_support is True, whether Security Groups are on, etc. The python-troveclient can then query the API, and then use contrib/extensions to surface flags (or modify them) dynamically.
@SlickNik, @vipuls, @hub_cap thoughts? #2 seems like a long-term approach, so perhaps #1 is a necessary stop-gap.