Skip to content

Instantly share code, notes, and snippets.

View techdragon's full-sized avatar

Samuel Bishop techdragon

View GitHub Profile
@techdragon
techdragon / gist:2a25a04213cd7c032fe2
Created February 8, 2016 07:32 — forked from heywbj/gist:da10d99f66df6361db9f
Get Elastic beanstalk environment information
import boto.utils
import boto.beanstalk
good_statuses = ('Launching', 'Updating', 'Ready')
def get_eb_environment_description():
identity_document = boto.utils.get_instance_identity()['document']
connection = boto.beanstalk.connect_to_region(identity_document['region'])
envs = (e for e in
@techdragon
techdragon / COPYING.rst
Last active September 20, 2015 13:53 — forked from jedsmith/COPYING.rst
The Apache License, v2.0, formatted as reStructuredText.
==============
Apache License
==============
:Version: 2.0
:Date: January 2004
:URL: http://www.apache.org/licenses/
------------------------------------------------------------
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION