dcloud errors databases connect

Connect a PostgreSQL database of the organization to the project

IAM errors:UpdateProjectChanges state

Needs errors:UpdateProject on the project AND rds:DescribeDBQueryInsights on the database. The audit entry of the project names the database; a refusal on either is recorded. Connecting grants nobody anything: each reader still needs rds:DescribeDBQueryInsights to see its statements. At most 10 databases per project.

Synopsis

dcloud errors databases connect id dbInstanceId

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

  • <dbInstanceId>Required

    string

    Also accepted as --db-instance-id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Example

dcloud errors databases connect id dbInstanceId

Generated from the API description, the same one the API checks requests against and the CLI is built from.