3
.

Updating SES Configuration

GUIDE

Updating the Engage Cloudformation Stack

Everything you need to know to keep the Engage CloudFormation stack up-to-date.

Technical
Intermediate
Next Module
Icon arrow left
All Modules

[.callout-critical--alert] The following steps should be completed at the same time as Local Measure updates the account configuration with the new CloudFormation outputs. [.callout-critical--alert]

[.callout-primary]Skip this step if Email routing has not been enabled.[.callout-primary]

No items found.

Instructions

Install the new stack as outlined in module one of this guide. Ensure all resources are deployed successfully.

This step needs to be completed by Local Measure: Go to Admin, enter the new Email Role ARN and click Save. At this point, the old email stack is still receiving and sending emails.

You can now test the new Email lambda. From CloudFormation, navigate to the newly installed Lambda ‘LMEmail’ in the Email Nested Stack. Navigate to the Test tab in the Lambda interface. Create a new event and call it testEvent. Paste the following into the Event JSON (ignoring the first and last lines of the snippet shown below).


<pre><code class="language-json">
{
  "Records": [
    {
      "EventSource": "aws:sns",
      "Sns": {
        "Message": "{}"
      }
    }
  ]
}
</pre></code>

Click Test and check the output tab of the test. If successful, you can move on to complete the rest of the update procedure. If this test fails, wait a few minutes and try again.

[.callout-critical--alertmessage]Do not continue with the procedure until this test passes.[.callout-critical--alertmessage]

This step needs to be completed by Local Measure: In Local Measure Admin Portal, copy the rest of the values from the CloudFormation outputs into the configuration section. Ensure that the Streaming API selection is active under Local Measure Connection.

In SES navigate to Email Receiving and click View Active Ruleset.

Find the newly created rule at the top of the list and click Edit. Set the rule to enabled and Save.

Go to the previous rule and click Edit. Set the rule to disabled and Save.