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.
Table of Contents
Update your CloudFormation stack
- Download the latest Lambda zip
- Download the latest Glue script
- Upload the zip and script to your S3 input bucket root via the S3 console
- Select your existing stack in AWS CloudFormation
- Click ‘Stack actions/Create change set for current stack’
- Click ‘Replace current template’ and enter the latest Glue stack
- Click ‘Acknowledge’, ‘Submit’, wait ~1 min and click the upper-right refresh
- Review that the changes in resources look as expected
- Click ‘Execute change set’ (and click it again in the popup), then wait ~1 min
- 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.