Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

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.



Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(30.0 kB) Copy SHA256 Hash SHA256
Source Jan 7, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting