HyperBrain / serverless-models-plugin

Model support for Serverless 0.5.x
25 stars 6 forks source link

model removed from s-models.json is not delete in API Gateway #8

Open aliatsis opened 8 years ago

aliatsis commented 8 years ago

My models in s-models.json are created and updated properly but removing a model does not delete it in API Gateway.

HyperBrain commented 8 years ago

I did not implement the remove functionality yet. This will be added later as it is not trivial to do that automatically. Currently I propose that you manually delete the model if you do not need it anymore.

mwawrusch commented 8 years ago

Don't automatically remove, it would make production systems very unstable.

HyperBrain commented 7 years ago

This will be automatically handled as soon as SLS 1.x support has been finished. Then CloudFormation will automatically remove stale models.