Skip to main content

Scaleway Rdb

@sntxrr/scaleway-rdbv2026.10.14.1· MIT(was none)· 12d agoBEHAVIORS
01README

Manage a Scaleway Managed Database (RDB) instance — sync state, create, update, and delete PostgreSQL/MySQL instances, and discover instances in a region, via the RDB API with X-Auth-Token auth.

02Release Notes

Declare SPDX license (MIT) in manifest.

03Behaviors1
@sntxrr/scaleway-rdbv2026.07.19.1scaleway_rdb.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the database instance.
region?stringRegion, e.g. fr-par, nl-ams, pl-waw.
instanceId?stringID of the Managed Database instance this model manages. Optional —
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the database instance's current state (GetInstance).
fn create(name: string, engine: string, nodeType: string, userName: string, password: string, isHaCluster?: boolean, disableBackup?: boolean, volumeType?: string, volumeSize?: number, tags?: array)
Provision a new database instance (CreateInstance) and snapshot it.
ArgumentTypeDescription
namestringName of the new database instance.
enginestringDatabase engine version ID, e.g. PostgreSQL-15 or MySQL-8.
nodeTypestringNode type (commercial size), e.g. DB-DEV-S.
userNamestringIdentifier of the default database user.
passwordstringPassword for the default user. Sent only to provision; never stored.
isHaCluster?booleanWhether to provision a High-Availability cluster.
disableBackup?booleanWhether to disable automated backups on the new instance.
volumeType?stringVolume type, e.g. lssd or bssd. Optional; engine default applies.
volumeSize?numberVolume size in bytes. Optional; engine default applies.
tags?arrayTags to attach to the new instance.
fn update(name?: string, tags?: array)
Mutate a database instance's mutable fields (UpdateInstance).
ArgumentTypeDescription
name?stringNew name for the instance.
tags?arrayReplacement set of tags for the instance.
fn delete()
Deprovision the database instance (DeleteInstance).
fn list()
Discover all database instances in the region (factory).

Resources

instance(infinite)— Snapshot of the Managed Database instance's state
04Previous Versions2
2026.07.19.1
2026.07.18.1
05Stats
A
100 / 100
Downloads
27
Archive size
8.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels