CrossAccount trigger-Runbook

Overview

This documents (and references) the component documentation. Below are a set of scenarios that may happen in production along with diagnosis and resolution information.

References

Document

Ref

Jira Story

Technical Elaboration - SPDP-7972.

Bitbucket repository

Webshop S3 Cross Account Trigger lambda.

Runtime Issues List

Issue

Component

Description

Issue 1

ApplicationConfiguration

ApplicationConfigurationException - application configuration missing

Issue 2

ApplicationDependencies

Exception - Exception while loading configs

Issue 3

VPCConfig Error

Exception - Exception will raise and the configuration is not provided

Issue 4

Ecs task will not start

Exception - Exception will raise and check wheather the config parameters are correct are not

Runtime Issues

Issue 1

Scenario

This happens when application configuration file is missing in the config service or when config service is not reachable.

Error

ApplicationConfigurationException raised when application configuration is missing in config service

Symptoms

ospeventhandler will respond with response code 5XX.

Corrective Action

make sure file storepick-webshop-service-refund-self-serve.json is available in the config service and SSM is configured correctly.

Issue 2

Scenario

This happens when there is an error while loading all the dependencies needed for the application to run.

Error

Exception raised when loading dependencies

Symptoms

lambdahandler will respond with response code 5XX.

Corrective Action

SNS_ARN_NAME fields are present in the config file.

Issue 3

Scenario

this happens when the VPC file is not there at the path and the file is not present at the provide path

Error

Exception vpc setting not loaded

Symptoms

configuration will not found

Corrective Action

check configuration is there or not

Issue 4

Scenario

this happen when the value of the config parameters is wrong

Error

ECS task will not configured

Symptoms

configuration will not found

Corrective Action

check configuration is there or not