aghadiry / serverless-cloudfront-invalidate

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

Invalidate multiple cloudfront distribution #8

Open XinfinityoO opened 6 years ago

XinfinityoO commented 6 years ago

Hi How do you invalidate multiple CF. I am able to do one but need to do two in the same script.

Thanks

coyoteecd commented 3 years ago

Support for multiple distributions has been added in v1.8, this can be closed.

ea-tal commented 2 years ago

I added the option to invalidate by an origin. Feel free to use or copy the code :)

https://github.com/everafterai/serverless-cloudfront-invalidate