ecs
ecs copied to clipboard
documentation for generating CloudFormation JSON file
trafficstars
What's the proper way to generate the JSON file for uploading to CloudFormation? It would be nice to document this in the README. For testing I manually import all the modules and then write template.to_json() to a file, but it seems like this should be built in or documented in some way.
I don't think this is a great solution, but I added some imports to __init__.py and some Circle CI commands to print the JSON, and that seems to suffice:
- https://github.com/tobiasmcnulty/aws-container-basics/blob/develop/stack/init.py
- https://github.com/tobiasmcnulty/aws-container-basics/blob/develop/circle.yml#L11-L14
Curious if you have a better way.