fly postgres attach
Attach a postgres cluster to an app
Usage
fly postgres attach <POSTGRES APP> [flags]
Options
-a, --app Application name
--auto-confirm Accept all confirmations
-c, --config Path to application configuration file
--database-name The designated database name for this consuming app.
--database-user The database user to create. By default, we will use the name of the consuming app.
--superuser Grants attached user superuser privileges
--variable-name The environment variable name that will be added to the consuming app.
-y, --yes Accept all confirmations
Global Options
-t, --access-token string Fly API Access Token
--debug Print additional logs and traces
--verbose Verbose output