Update your CloudFormation stack revision

In some cases you may need to update your CloudFormation stack revision (incl. potentially a new Lambda and/or Glue script), e.g. to update the integration to a more recent version.


Update your CloudFormation stack

  1. Download the latest Lambda zip
  2. Download the latest Glue script
  3. Upload the zip and script to your S3 input bucket root via the S3 console
  4. Select your existing stack in AWS CloudFormation
  5. Click ‘Stack actions/Create change set for current stack’
  6. Click ‘Replace current template’ and enter the latest Glue stack
  7. Click ‘Acknowledge’, ‘Submit’, wait ~1 min and click the upper-right refresh
  8. Review that the changes in resources look as expected
  9. Click ‘Execute change set’ (and click it again in the popup), then wait ~1 min
  10. Verify that the deployment succeeds

After updating, we recommend to test your Lambda function and re-run your Glue script.

Warning

If you have also deployed the trip summary stack, you should instead use the latest version of this stack when creating the change set


Note on customized Lambda/Glue scripts

If you have modified your Lambda code (e.g. with custom signals or event detection), you should include these customizations in the new Lambda zip before uploading it. Similarly, if you have made customizations to the Glue script, incorporate these into the new script before uploading.