Real-Dev-Squad / identity-service

Identity based actions for our services
MIT License
7 stars 23 forks source link

Consolidate Utility Functions Using AWS Lambda Layers #213

Closed lakshayman closed 3 months ago

lakshayman commented 5 months ago

Issue Description

Currently, our identity service has five Lambda functions. Each of these Lambda functions uses utility functions that are duplicated across each function. This redundancy increases maintenance effort and the risk of inconsistencies. To address this, we propose using AWS Lambda Layers to consolidate these utility functions in a single location, allowing all Lambda functions to share the same layer.

Expected Behavior

When this issue is resolved:

Current Behavior

Reproducibility

Steps to Reproduce

  1. Inspect the codebase of each Lambda function in the identity service.
  2. Identify the duplicated utility functions.
  3. Observe the maintenance and update process for these utility functions.

Severity/Priority

Checklist