but I get an error saying the parameters InvalidationBatch_CallerReference and Paths_Quantity are required but the documentation says otherwise.
New-CFInvalidation : 2 validation errors detected:
Value null at 'invalidationBatch.callerReference' failed to satisfy constraint: Member must not be null; Value null at 'invalidationBatch.paths.quantity' failed to satisfy constraint: Member must not be null
At line:1 char:1
I've confirmed that for that using Ubuntu's AWS CLI that the two params don't seem neccessary because I tried the following and works fine.
Hi,
I'm trying to create a Cloudfront Invalidation. Here was my command
but I get an error saying the parameters InvalidationBatch_CallerReference and Paths_Quantity are required but the documentation says otherwise.
I've confirmed that for that using Ubuntu's AWS CLI that the two params don't seem neccessary because I tried the following and works fine.
Here is my AWS Powershell installation details.
Any ideas?