sbstjn / serverless-dynamodb-autoscaling

Serverless Plugin for Amazon DynamoDB Auto Scaling configuration.
https://sbstjn.com/serverless-dynamodb-auto-scaling-with-cloudformation.html
MIT License
148 stars 27 forks source link

Use AWS::AutoScalingPlans::ScalingPlan #43

Closed hassankhan closed 6 years ago

hassankhan commented 6 years ago

From what I understand, using the new ScalingPlan resource we can specify plans for multiple resources. This would mean that this plugin only adds a single resource to a Serverless stack, instead of two per-table.

https://aws.amazon.com/about-aws/whats-new/2018/05/aws-auto-scaling-scaling-plans-can-now-be-created-using-aws-cloudformation

delprofundo commented 6 years ago

From what I understand, using the new ScalingPlan resource we can specify plans for multiple resources.

Thanks for pointing this out. I was about to add scaling resources to about 15 tables. I've added two this way and its working.

hassankhan commented 6 years ago

For what its' worth, we ended up creating a plugin with the same options (so it should be a direct replacement): https://github.com/EndemolShineGroup/serverless-dynamodb-autoscaler