ecs icon indicating copy to clipboard operation
ecs copied to clipboard

documentation for generating CloudFormation JSON file

Open tobiasmcnulty opened this issue 8 years ago • 1 comments
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.

tobiasmcnulty avatar Nov 27 '16 18:11 tobiasmcnulty

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.

tobiasmcnulty avatar Jan 13 '17 21:01 tobiasmcnulty