dashboard-plugin icon indicating copy to clipboard operation
dashboard-plugin copied to clipboard

Instrumentation makes builds non-deterministic

Open jonmast opened this issue 1 year ago • 1 comments

From what I've read the serverless framework is designed to produce deterministic builds, but this is not happening on my project with the dashboard plugin enabled. Each deploy ends up releasing a new Lambda version even if there were no code changes.

From diffing the build zips, it appears the only change is the "deploymentUid" parameter in the generated entrypoint file, this is regenerated on every build.

I'm wondering if this could perhaps be moved to an environment variable rather than hardcoded so the builds can be deterministic and we can avoid unnecessary updates.

jonmast avatar Jan 10 '23 14:01 jonmast