Go-based CLI for managing CloudFormation stacks written in Cue
- Clone the repo.
cd
into the repo and rungo install ./...
- The
stax
binary will be placed in$GOHOME/bin/stax
(e.g.~/go/bin/stax
). Make sure this is in your$PATH
stax [global flags] <command> [command flags] [./... or specific cue files]
If no args are present after , stax will default to using ./...
as a way to find Cue files. This can be overriden with specific files: stax print ./text.cue
add
Writes scaffolding to template.cfn.cuedelete
Deletes the stack along with .yml and .out.cue filesdeploy
Deploys a stack by creating a changeset, previews expected changes, and optionally executes.diff
DIFF against CloudFormation for the evaluted leaves.events
Shows the latest events from the evaluated stacks.export
Exports cue templates that implement the Stack pattern as yml files.help
Help about any commandimport
Imports an existing stack into Cue.print
Prints the Cue output as YAMLresources
Lists the resources managed by the stack.save
Saves stack outputs as importable libraries to cue.modstatus
Returns a stack status if it existsnotify
Creates a light http server to listen for stack events from sns