dcloud deploy host-database createGive a pooled app a Postgres database on its pool host; the app gets DATABASE_URL at its next start
IAM deploy:ManageHostDatabaseChanges state
One Postgres per pool host, a database and role per app, on the host disk. No failover: a lost host is replaced and the database restored from its newest backup. Your own DATABASE_URL (or a managed Postgres binding) wins over this one.
Synopsis
dcloud deploy host-database create idArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Example
dcloud deploy host-database create idGenerated from the API description, the same one the API checks requests against and the CLI is built from.