Update Lambda architecture - Dynamic Image Transformation for Amazon CloudFront

Update Lambda architecture

Follow these steps to update an existing Lambda architecture deployment to the latest version:

  1. Sign in to the AWS CloudFormation console, select your existing Dynamic Image Transformation for Amazon CloudFront CloudFormation stack, and select Update.

  2. Select Replace current template.

  3. Under Specify template:

    1. Select Amazon S3 URL.

    2. Copy the link of the dynamic-image-transformation-for-amazon-cloudfront-lambda.template AWS CloudFormation template.

    3. Paste the link in the Amazon S3 URL box.

    4. This link will point to the latest template by default, to modify which version you update to, replace the word latest with the desired version.

      1. For example: https://solutions-reference.s3.amazonaws.com/dynamic-image-transformation-for-amazon-cloudfront/latest/dynamic-image-transformation-for-amazon-cloudfront-lambda.template would become https://solutions-reference.s3.amazonaws.com/dynamic-image-transformation-for-amazon-cloudfront/v8.0.0/dynamic-image-transformation-for-amazon-cloudfront-lambda.template

Note

Alongside the rename in v7.0.0 from Serverless Image Handler to Dynamic Image Transformation for Amazon CloudFront, the location of the cloudformation template has changed, if you’d like to follow the above instructions for a version before v7.0.0, use the following template URL as a baseline: https://solutions-reference.s3.amazonaws.com/serverless-image-handler/latest/serverless-image-handler.template

  1. Verify that the correct template URL shows in the *Amazon S3 URL* text box, and choose Next. Choose Next again.

    1. Under Parameters, review the parameters for the template and modify them as necessary. For details about the parameters, see Lambda architecture template parameters.

    2. Choose Next.

    3. On the Configure stack options page, choose Next.

    4. On the Review page, review and confirm the settings. Select the box acknowledging that the template creates IAM resources.

    5. Choose View change set and verify the changes.

    6. Choose Update stack to deploy the stack.

You can view the status of the stack in the AWS CloudFormation console in the Status column. You should receive an UPDATE_COMPLETE status in approximately 15 minutes.