Skip to main content

Scaleway Mongodb

@sntxrr/scaleway-mongodbv2026.07.19.1· 6d agoMODELS
01README

Manage a Scaleway Managed MongoDB® Database Instance — sync state, create, update, and delete instances, and discover instances in a region, via the Managed MongoDB API with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-mongodbv2026.07.19.1scaleway_mongodb.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the MongoDB® Database Instance.
regionstringRegion, e.g. fr-par, nl-ams, pl-waw.
instanceId?stringID of the MongoDB® Database Instance this model manages. Optional —
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the MongoDB® Database Instance's current state (GetInstance).
fn create(name: string, version: string, nodeType: string, nodeAmount: number, userName: string, password: string, volumeType?: string, volumeSize?: number, tags?: array)
Provision a new MongoDB® Database Instance (CreateInstance) and snapshot it.
ArgumentTypeDescription
namestringName of the new MongoDB® Database Instance.
versionstringMongoDB® engine version, e.g. 7.0.12.
nodeTypestringNode type (commercial size), e.g. MGDB-PLAY2-NANO.
nodeAmountnumberNumber of nodes in the cluster (1 for standalone).
userNamestringIdentifier of the default database user.
passwordstringPassword for the default user. Sent only to provision; never stored.
volumeType?stringVolume type, e.g. sbs_5k or sbs_15k. 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 MongoDB® 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 MongoDB® Database Instance (DeleteInstance).
fn list()
Discover all MongoDB® Database Instances in the region (factory).

Resources

instance(infinite)— Snapshot of the MongoDB® Database Instance's state
03Previous Versions1
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
10.3 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
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels