Rapid Ledger 57
01README
Inventory spend across AWS, GCP, and Azure, surface drift, and emit a structured report. Read-only by default; mutating ops gated behind a flag.
Quick start
Add @slack/rapid-ledger-57 to your repo's extensions list, then reference its model in your swamp.yaml:
extensions:
- @slack/rapid-ledger-57
workflows:
- name: rapid-ledger-57-run
jobs:
- name: main
steps:
- name: create
model: slack/rapid-ledger-57
method: createRun with swamp workflow run rapid-ledger-57-run. The first invocation prints what it would change; pass --apply to commit.
What's inside
- Typed models — Zod-validated arguments, structured outputs, and a manifest the agent can reason about.
Configuration
Configure via ~/.swamp/config.yaml or environment variables. The full method reference and rubric format live in the package's manual/ directory.
Labels: multicloud network
02Models
@slack/rapid-ledger-57/nexusv0.1.0nexus.ts
fn create(force: boolean, tags: array, filter?: record)
Create the resource.
| Argument | Type | Description |
|---|---|---|
| force | boolean | Skip confirmation and apply immediately |
| tags | array | List of tags to apply |
| filter? | record | Key-value filter expression |
fn diff(tags: array, filter?: record)
Diff the resource.
| Argument | Type | Description |
|---|---|---|
| tags | array | List of tags to apply |
| filter? | record | Key-value filter expression |
fn sync(tags: array, dryRun: boolean, force: boolean)
Sync the resource.
| Argument | Type | Description |
|---|---|---|
| tags | array | List of tags to apply |
| dryRun | boolean | Compute changes without applying them |
| force | boolean | Skip confirmation and apply immediately |
fn list(limit: number, dryRun?: boolean)
List the resource.
| Argument | Type | Description |
|---|---|---|
| limit | number | Maximum results to return |
| dryRun? | boolean | Compute changes without applying them |
@slack/rapid-ledger-57/harvestv0.1.0harvest.ts
fn list(id: string, filter?: record)
List the resource.
| Argument | Type | Description |
|---|---|---|
| id | string | Resource identifier |
| filter? | record | Key-value filter expression |
fn get(filter: record, tags: array)
Get the resource.
| Argument | Type | Description |
|---|---|---|
| filter | record | Key-value filter expression |
| tags | array | List of tags to apply |
fn sync(id: string)
Sync the resource.
| Argument | Type | Description |
|---|---|---|
| id | string | Resource identifier |
fn diff(filter: record, tags?: array)
Diff the resource.
| Argument | Type | Description |
|---|---|---|
| filter | record | Key-value filter expression |
| tags? | array | List of tags to apply |
03Stats
B
83 / 100
Downloads
14
Archive size
72.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository0/2missing
Repository
https://github.com/slack/rapid-ledger-5704Platforms
05Labels