Sorry, I know this is more of an AWS question, but maybe you have seen this. As I am having trouble figuring it out.
I am basically setting up a continues deployment pipeline, and I am using your tool to deploy to s3/cloudfront. I deployed once successfully but now I am getting this error
botocore.errorfactory.InvalidArgument: An error occurred (InvalidArgument) when calling the CreateInvalidation operation: Your request contains a caller reference that was used for a previous invalidation batch for the same distribution.
Thanks, it seems that you are correct. The documentation indicates that this should be a unique string so something like appending the timestamp should work. Would you be able to open a PR?
Sorry, I know this is more of an AWS question, but maybe you have seen this. As I am having trouble figuring it out.
I am basically setting up a continues deployment pipeline, and I am using your tool to deploy to s3/cloudfront. I deployed once successfully but now I am getting this error
My guess is that this is due to
and the fact that uses the same string as CallerReference.
Should this use instead some string that changes from call to call (maybe adding a datetime.now())?