Giter Club home page Giter Club logo

stx's Introduction

stx

Go-based CLI for managing CloudFormation stacks written in Cue

Installation

  1. Clone the repo.
  2. cd into the repo and run go install ./...
  3. The stx binary will be placed in $GOHOME/bin/stx (e.g. ~/go/bin/stx). Make sure this is in your $PATH

Usage

stx [global flags] <command> [command flags] [./... or specific cue files]

If no args are present after , stx will default to using ./... as a way to find Cue files. This can be overriden with specific files: stx print ./text.cue

Commands

  • add Writes scaffolding to template.cfn.cue
  • delete Deletes the stack along with .yml and .out.cue files
  • deploy 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 command
  • import Imports an existing stack into Cue.
  • print Prints the Cue output as YAML
  • resources Lists the resources managed by the stack.
  • save Saves stack outputs as importable libraries to cue.mod
  • status Returns a stack status if it exists
  • notify Creates a light http server to listen for stack events from sns

Roadmap

  • Add color to yaml output of print
  • Add sts, sdf, exe, and events commands
  • Add config options to use ykman for automatic mfa retrieval

stx's People

Contributors

lodotek avatar mehlert-zz avatar talentedmrjones avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.