Skip to main content

AWS CloudFormation Template generator from Yaml specifications.

Project description

https://github.com/dowjones/respawn/blob/master/Logo/PNG/respawn-logo-2.png

Version History

Version:

v1.0.3

  • Initial release

Introduction

Infrastructure templates and utilities for building AWS CloudFormation stacks. Respawn uses cfn-pyplates to generate CloudFormation templates. Respawn digests a custom, easy to read/write YAML representation of a JSON CloudFormation template and resources, with the goal of generating CloudFormation templates based on python templates (pyplates!) that reflect the CloudFormation template hierarchy.

Respawn is a Python package that provides interfaces to Amazon Web Services - Cloudformation. It allows for easier and more user friendly and concise YAML keywords to create resources/parameters/userdata in CloudFormation stacks. This is used in Dow Jones professional information business pipeline and with success and has been modified to be as generic and serve all. Currently the library supports Python 2.7.

Authors

Respawn has been written by the following authors. The logo for respawn has been designed by Gregor Louden.

Documentation

Documentation is generated by sphinx and hosted on readthedocs

Services

At the moment, respawn supports:

  • AutoScaling

    • AutoScalingGroup

    • LifecycleHook

    • ScalingPolicy

    • ScheduledAction

  • CloudWatch

    • Alarm

  • Elastic Compute Cloud (EC2)

    • Instance

    • NetworkInterface

    • NetworkInterfaceAttachment

    • SecurityGroup

    • Volume

  • Elastic Load Balancing (ELB)

    • LoadBalancer

  • Relational Database Service (RDS)

    • DBInstance

  • Simple Notification Service (SNS)

    • Topic

The goal of respawn is to support the full breadth and depth of Amazon Web Services - resources. respawn is developed mainly using Python 2.7.x on Mac OSX and Ubuntu. It is known to work on Linux Distributions, Mac OS X and Windows.

Installation

To install respawn, simply:

Windows/Unix/Mac OS X

  • Open command prompt and execute pip command :

pip install respawn

Usage - Template Generation

to use respawn, in your command prompt/terminal :

$ respawn pathToYAML.yaml

to create & validate the JSON against AWS using boto and pipe output to a file:

$ respawn --validate pathToYAML.yaml > pathToJSON.json

to pipe the output to a file :

$ respawn pathToYAML.yaml > pathToJSON.json

Developing and Contribution

We’d love to get contributions from you! Take a look at the CONTRIBUTING.rst to see how to get your changes merged in.

License

ISC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

respawn-1.0.3.tar.gz (30.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page