aghadiry / serverless-cloudfront-invalidate

Serverless plugin that allows you to invalidate Cloudfront Cache
MIT License
29 stars 22 forks source link

Option to wait for invalidation to complete #12

Open undsoft opened 5 years ago

undsoft commented 5 years ago

It seems that currently plugin starts an invalidation, but doesn't wait for it to be finished.

It would be helpful to have an option for that.

My use case is that CI deploys new files to cloudfront and then runs e2e tests on them. But I need to be sure that files have been updated.

funkel1989 commented 4 years ago

I would benefit from this same scenario. Been a while since this was updated and wasn't sure if it's in the plans or not?