aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

preserves timestamps when copying files to temporary directory

Open jtheuer opened this issue 2 years ago • 0 comments

Issue #3131

Description of changes:

Under (some?) circumstances the cloudformation package command copies the files to a temporary directory before creating the ZIP file. This updates the timestamps and therefore results in a new s3 resource when upload. This triggers always a redeploy of the affected resource, even when this wasn't required.

This change at least keeps the original timestamps when copying the file. This limits the cases where the resources are updated unnecessarily.

jtheuer avatar Jul 21 '23 13:07 jtheuer