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.