Create it
- Console
- CLI and API
- Coding agent
- Open the environment, then New service › Blueprint.
- Find PlanetScale Database in the catalog and pick the major version.
- Fill in the variables. Required ones are marked; the others use their defaults.
- Create the service, and deploy it now or later.
Variables and outputs
Generated fromqbm.yml at EXTERNAL/planetscale/default/1.0.7, the manifest the Console form is built from.
All 8 variables
All 8 variables
All 8 outputs
All 8 outputs
Reference
From the Blueprint’s README. Provisions a PlanetScale (Vitess / MySQL) database with a production branch (planetscale_vitess_branch) and an application password (planetscale_vitess_branch_password), via the official planetscale/planetscale provider (~> 1.0).
No free tier. PlanetScale removed its hobby/free plan; the cheapest paid plan starts around $39/month per database. Deploying this blueprint is immediately billable.
Credentials
A PlanetScale service token:planetscale_service_token_id + planetscale_service_token (both sensitive), supplied as variables (credentials.default: env). The token needs permission to create databases/branches and passwords in the organization.
Variables
Required
Optional
Outputs
Notes
- The database is created implicitly with its first branch. There is no separate database resource in the PlanetScale provider; destroying this blueprint deletes the branch and therefore the database and all its data — the same teardown semantics as the other managed-database blueprints in this catalog.
- The generated
passwordis only returned by the API at creation time; it is surfaced as a sensitive output. - Uses the official v1 provider (a full rewrite of the deprecated v0); pinned
~> 1.0.