setup_postgresql_database
Provision and configure a PostgreSQL database instance on Vultr with specified region, plan, and version, including application user and database creation.
Instructions
Quick setup for a PostgreSQL database with application user and database.
Args: region: Region code (e.g., 'ewr', 'lax') plan: Plan ID (e.g., 'vultr-dbaas-hobbyist-cc-1-25-1') label: Label for the database version: PostgreSQL version (13-17) app_user: Application username to create app_password: Application user password (auto-generated if not provided) app_database: Application database name to create
Returns: Complete setup information including connection details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app_database | No | appdb | |
app_password | No | ||
app_user | No | appuser | |
label | Yes | ||
plan | Yes | ||
region | Yes | ||
version | No | 17 |