In CDP CLI, a new option --storage-type in the create-database command is introduced that replaces the [--use-hdfs | --no-use-hdfs] and [--disable-ephemeral-storage | --no-disable-ephemeral-storage] options.
The --storage-type option supports these values, CLOUD_WITH_EPHEMERAL, CLOUD, and HDFS.
Following is a sample command.
cdp opdb create-database --environment <environment-name> --database <database-name> --storage-type CLOUD
Documentation link: CDP CLI Beta
This is available starting in COD v1.35 and you do not need to upgrade to a higher version of COD to benefit from this feature.
Try the Cloudera Operational Database for free with Test Drive (no cloud account or setup is needed).