Skip to content

preserves timestamps when copying files to temporary directory #8053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jtheuer
Copy link

@jtheuer jtheuer commented Jul 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant