Code Monkey home page Code Monkey logo

genesis's Introduction

⚠️ DEPRECATED⚠️

genesis Build Status

A Terraform CLI wrapper built by the Bandwidth Incubator.

Goals

  1. Expose a command for each infrastructure-related lifecycle event in an Incubator-style project.
  2. Each command should protect against accidental non-automated actions that impact infrastructure.
  3. Don't do anything other than wrap the Terraform CLI
  4. Be platform independent

Note: Still not tested on any OS other than Windows. Please submit an issue if there are problems!

This code base will be greatly simplified once Terraform allows for environment variable interpolation in tfvars files.

Installation

gem install genesis

Commands

  • genesis apply
    • Apply infrastructure changes to match plan
  • genesis destroy
    • Destroy infrastructure Terraform knows about
  • genesis help [COMMAND]
    • Describe available commands or one specific command
  • genesis plan
    • Output an execution plan
  • genesis refresh
    • Reconcile state with the real-world infrastructure
  • genesis show
    • Output contents of the state file

Note:

All of these commands assume that the current working directory contains a terraform directory where terraform tf, tf.json, and tfvars files are. This is the directory passed to the Terraform cli.

Options

  • [--prompt], [--no-prompt]
    • Prompt before executing dangerous commands (Default: true)

License

MIT

genesis's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jniesen manheim

genesis's Issues

Testing

Minimal functional tests are needed

[option] project root

Right now genesis assumes that the project root (parent directory of the terraform directory) is the current working directory. This needs to be a command line option.

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.