aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.59k stars 1.01k forks source link

Support CloudFormation Templates #35

Open JamieCressey opened 8 years ago

JamieCressey commented 8 years ago

Most, if not all RESTful APIs require some sort of data source.

I'm not sure if this is out of scope for this project, hopefully not, but having the ability to deploy CloudFormation templates to buildout a DynamoDB table, or RDS instance etc would be beneficial.

It also makes cleanup, removing API Gateways, Lambda functions and roles much easier.

jamesls commented 8 years ago

I agree that most APIs require a data source.

This is something I've thought about, but I'm inclined to say that it's out of scope, at least initially.

One of things I want to make sure this project doesn't lose is the minimalistic nature of the framework. Similar to how django has manage.py migrate, but in flask you have to manage this yourself, I think a similar parallel can be drawn here.

jamesls commented 7 years ago

I've drafted a proposal of integrating with cloudformation/SAM: https://github.com/awslabs/chalice/issues/183

Let me know if that's similar to what you had in mind.