Skip to content

feat(reportextractor): Mark YAML defined infrastructure as "legacy" - #1617

Merged
akash1810 merged 1 commit into
mainfrom
aa/legacy-reportextractor
Jan 14, 2026
Merged

feat(reportextractor): Mark YAML defined infrastructure as "legacy"#1617
akash1810 merged 1 commit into
mainfrom
aa/legacy-reportextractor

Conversation

@akash1810

@akash1810 akash1810 commented Jan 14, 2026

Copy link
Copy Markdown
Member

What does this change?

In #1616 we're defining the lambda in GuCDK and will dual-stack its deployment. This change renames the YAML defined lambda to legacy-mobile-notifications-reportextractor-(CODE|PROD) to make it easier to distinguish it from the GuCDK lambda.

How to test

  1. Deploy this branch

  2. Invoke the lambda:

     aws lambda invoke \
       --function-name legacy-mobile-notifications-reportextractor-CODE \
       --profile mobile \
       --region eu-west-1 /tmp/response.json
  3. Locate the logs in Central ELK, they should have a cloudwatchLogGroup marker value of /aws/lambda/legacy-mobile-notifications-reportextractor-CODE. Using devx-logs:

    devx-logs --space mobile \
      --filter cloudwatchLogGroup="/aws/lambda/legacy-mobile-notifications-reportextractor-CODE" \
      --column message \
      --column cloudwatchLogGroup

@akash1810 akash1810 added the feature Departmental tracking: work on a new feature label Jan 14, 2026
@github-actions

github-actions Bot commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

@akash1810
akash1810 marked this pull request as ready for review January 14, 2026 10:59
@akash1810
akash1810 requested a review from a team as a code owner January 14, 2026 10:59
In #1616 we're defining the lambda in GuCDK.
We'll have to configure Riff-Raff to discover the new lambda via a name tag discovery fails when multiple lambdas are matched.
To support this, rename the YAML lambda with the "legacy" prefix so that the GuCDK lambda can be named "mobile-notifications-reportextractor-(CODE|PROD)".
@akash1810
akash1810 force-pushed the aa/legacy-reportextractor branch from 4413239 to fdd96c5 Compare January 14, 2026 12:32
@akash1810
akash1810 merged commit 76144b1 into main Jan 14, 2026
5 checks passed
@akash1810
akash1810 deleted the aa/legacy-reportextractor branch January 14, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants