set_service_connection_default
Choose which managed service gives one application environment a protocol's conventional connection names (DATABASE_URL and the PG* names for postgres, REDIS_URL for redis, NATS_URL, OPENSEARCH_URL, S3_ENDPOINT and AWS_* for s3, ...), or that none does. Every connected service is always delivered under its own prefix (ORDERS_DB_DATABASE_URL); the conventional names belong to one service per protocol, recorded the first time a deploy delivers them, and never move by themselves. When that service is retired while another service of the protocol still serves the environment, the application's deploys are refused until this is chosen (get_service_instance shows connection_delivery.holder_gone on the consumer). Name instance_id to choose a connected service, or none=true so the application reads only the prefixed names. Nothing is deployed: the next deploy delivers the choice. Requires applications.deploy and clusters.operate on the cluster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| none | No | true to choose that no service provides the conventional names, so the application reads the prefixed names. Omit when instance_id is named. | |
| protocol | Yes | Wire protocol whose conventional names are chosen. | |
| namespace | Yes | Namespace of the application environment on that cluster. | |
| cluster_id | Yes | Cluster id (UUID) the application environment runs on. | |
| instance_id | No | Managed service instance id (UUID) that provides the names; it must serve this environment over this protocol. Omit when none is true. | |
| application_id | Yes | Application id (UUID). |