Declare a service the tenant already runs
attach_externalDeclare a backing service the tenant ALREADY RUNS, so the platform does not provision one. This takes the shape only. offering is one of postgres, redis, mysql, mongodb, rabbitmq; alias defaults to "db" and is what separates two of the same kind in one project; variable defaults to the conventional name for the offering (DATABASE_URL, REDIS_URL, MONGODB_URI, AMQP_URL). No URL, host, port, user or password is accepted here or by any other tool: the project moves to awaiting_secrets and a human types the connection URL into the get_secrets_link form, beside every other value the project is waiting for. Two offerings that derive the same variable are refused, naming the alias that already holds it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | ||
| offering | Yes | ||
| variable | No | ||
| project_id | Yes | ||
| idempotency_key | No |