Skip to main content

AWS CloudFormation Template generator from Yaml specifications.

Project description

Version History

  • Initial release


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.


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


Documentation is generated by sphinx and hosted on readthedocs


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.


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.



Project details

Download files

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

Files for respawn, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size respawn-1.0.3.tar.gz (30.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page