I have an AWS amplify project which deploys static web pages to S3 and CloudFront.
I use amplify publish --invalidateCloudFront to deploy changes, but I
amplify publish --invalidateCloudFront