aws / chalice

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

separate out state directory from project directory #1186

Open kapilt opened 5 years ago

kapilt commented 5 years ago

for opensource projects builtin on chalice it would be useful to be able to specify a separate state directory then a subdirectory of the source.

the current model of chalice where configuration/state lives alongside the source makes distribution and reuse of apps problematic. either the state is set to vcs ignore, in which case state never gets versioned or state gets checked in, in which case its introducing extraneous drift from the project repo.

the goal here would be to enable distribution of chalice apps through pip as well having clean vcs repos that others can checkout and use.

kyleknap commented 5 years ago

Yes. I agree this would be really helpful.