@mosaic-sandbox/pulumi
v0.1.1
Published
Pulumi package for Mosaic Sandbox
Readme
Mosaic Sandbox Pulumi package
This package exposes the public Mosaic Sandbox lifecycle as a Pulumi resource. It mirrors the same self-serve API that powers the Python SDK, TypeScript SDK, CLI, and MCP tooling.
Current resource
Sandbox
Supported inputs:
templatememoryMbvcpunamesnapshotIdenableSshsshPublicKeyendpointapiToken
Returned outputs:
idnamestatettiMssshConnectionStringsshHostsshPort
Example
import * as pulumi from "@pulumi/pulumi";
import { Sandbox } from "@mosaic-sandbox/pulumi";
const config = new pulumi.Config();
const box = new Sandbox("agent-box", {
endpoint: "https://sandbox.mosaicos.com",
apiToken: config.requireSecret("mosaicApiToken"),
template: "node-20",
memoryMb: 4096,
vcpu: 2,
enableSsh: false,
name: "pulumi-devbox",
});
export const sandboxId = box.id;
export const ttiMs = box.ttiMs;Publishing posture
This package is structured for normal npm publishing:
- public package name:
@mosaic-sandbox/pulumi - build output in
dist/ - README shipped with the package
- explicit homepage and repository metadata
Before publishing, run a final build and smoke example against the public Mosaic Sandbox endpoint so the package page reflects a currently verified flow.
