Provision and Deploy Stack
clawops_upProvision and deploy a complete clawops stack after plan approval. Re-running without spec changes creates no diff, and progress notifications keep you updated.
Instructions
Provision and deploy a clawops stack. Idempotent — re-running with no spec change produces no diff. Long-running (median 3min, p99 8min) so emits progress notifications per R12.
Use when: the user explicitly asks to deploy, provision, create, or "spin up" a stack. Always after the user has reviewed a plan (clawops_plan first when in doubt).
Do NOT use when: the user has not yet generated a plan and is in exploratory/discovery mode — use clawops_plan first. Do NOT use for an existing stack you only need to update; refresh first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Show what would be created and change nothing. Use this first when the user has not yet approved a spend | |
| region | No | Cloud region to deploy into, in the provider's own spelling (us-east-1, us-central1, eastus). Omitted = the region recorded for the stack | |
| sshCidr | No | CIDR(s) allowed to reach SSH, comma-separated, or 'auto' for the caller's own address. Omitted means none, and nothing will be able to connect — including every clawops day-two command. | |
| provider | No | Defaults to provider configured for this stack | |
| stackName | No | Name for the stack to provision, and the name every later command refers to it by. Omitted = the default stack in ~/.clawops/config.json | |
| gatewayCidr | No | CIDR(s) allowed to reach the gateway port. Requires publishGateway=all. | |
| instanceType | No | A clawops size (micro|small|medium|large|gpu) or a provider-native machine type. Not an enum: Azure offers SKU families per subscription, and an account offered none of the five sizes clawops names would otherwise have no way to deploy. | small |
| publishGateway | No | Which interface the gateway binds. 'all' serves plaintext HTTP. | |
| openclawVersion | No | semver or 'stable'/'dev' |