Currently with version 2.3.2 I cannot publish a new version if only the lambda code package changes.
When we release our project we set publish to true and forceUpdate to false. We do not want to force update because that will deploy and publish new version even when the code/config have not changed.
What I propose is to additionally publish a new version if publish is true and the code package has been updated due to checksum differences.
Edit:
My motivation is production deployments only when there are actual λ code / config changes. Otherwise publishing different versions with the same effective config/code is redundant and confusing later.
Currently with version
2.3.2I cannot publish a new version if only the lambda code package changes.When we release our project we set
publishtotrueandforceUpdatetofalse. We do not want to force update because that will deploy and publish new version even when the code/config have not changed.What I propose is to additionally publish a new version if
publishistrueand the code package has been updated due to checksum differences.Edit:
My motivation is production deployments only when there are actual λ code / config changes. Otherwise publishing different versions with the same effective config/code is redundant and confusing later.