Git Product home page Git Product logo

cfn-batman's Introduction

Build Status

batman

Batman scours your AWS stack for villianous stacks and using genius intellect, physical prowess, martial arts abilities, detective skills, science and technology, vast wealth, intimidation, and indomitable will keeps the cloudy street safe and clean.

How do I let Batman know I'm doing good?

If you want to keep a stack safe from being killed by Batman add a Batman tag to your cloudformation stack ({Key:'Batman'}), no need to have any content.

Batman inspect the tags on your cloudformation stacks to determine what to shut down, specifically looking for the tag {Key: 'slice', Value: 'anything-other-than-master'}

Batman can also receive a bat signal (commonly known as a Github webhook) to delete stacks. Suggested usage is to receive a webhook when a branch is deleted so Batman can cleanup.

Getting Started

Edit serverless.yml where you can adjust

  • scheduled run time
  • tag that contains your branch name (default = Slice)
  • if your project will accept webhooks
  • AWS region
  • anything else which takes your fancy.

Deployment

Refer to the serverless framework for detailed instructions, but should be as simple as

  • Install dependencies
npm i
  • Authenticate with AWS via your favourite CLI

  • then deploy

npm deploy

Built With

  • serverless framework

Authors

cfn-batman's People

Contributors

ramesius avatar samjeffress avatar

Watchers

James Cloos avatar Klee avatar  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.