Skip to content
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

fix(lambda): use of currentVersion fails deployment after upgrade #26777

Merged
merged 3 commits into from
Aug 17, 2023

Commits on Aug 16, 2023

  1. fix(lambda): use of currentVersion fails on upgrade

    Between version `2.87.0` and version `2.88.0`, the hash calculation
    used to make sure that `fn.currentVersion` is automatically updated
    when a new version of the Lambda Function is deployed changed.
    
    This causes a creation of a new Version upon upgrading CDK, but that new
    Version creation will fail because the underlying Function hasn't
    changed.
    
    The change was due to property ordering used in calculating a
    unique hash for the Function configuration.
    
    This change restores the property ordering to the pre-2.88.0 behavior.
    
    Fixes #26739.
    rix0rrr committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    db1d5a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    994b091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    183ba06 View commit details
    Browse the repository at this point in the history