Prerequisites
ubxinstalled (runubx versionto verify)- AWS credentials in your environment (for the example below)
- Python 3.9+ and
pipon yourPATH(forubx ship)
1. Create a stack directory
2. Declare your inputs
Createinput.xcl:
pulumi config set.
3. Declare your resources
Createstack.xcl:
4. Declare your outputs
Createoutput.xcl:
5. Compile
.ubx/__main__.py. Inspect it before deploying.
6. Deploy
ubx ship re-runs the full compile pipeline, then calls pulumi up via the Pulumi Automation API. State is stored in .ubx/state/.
7. Tear down
--force to skip the prompt.
What was created
Next steps
- Stack block — resource syntax, for/when/count
- Types — all supported type expressions
- Multi-stack workspaces — compile multiple stacks in dependency order

