S3Key of bundled lambda asset changes on every run in Github Actions workflow #25410
Unanswered
fynnfluegge
asked this question in
Q&A
Replies: 1 comment 11 replies
-
This was my first thought as well, but I'm not sure exactly what would be causing this - asset hashes should remain consistent across systems. Is it possible your node version is somehow switching? I recommend testing this on a self-hosted runner and seeing if the issue persists, that could potentially unblock you |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋,
I recently moved my cdk deployment to a workflow in github actions.
But on every run, all my lambda functions are updated during
cdk deploy
(even there is no change), since the S3key and the asset path of the new bundled asset differs on every run with the deployed version:I expect that only the lambda functions, where the code has changed will be updated. I bet this has something to do with the github actions runner that causes some minor tweaks on every run which leads to a different hash of the asset path and as a result a different S3key.
Has someone bypassed this issue?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions