From 39d58eb2ef873b90a08e28200907105286f69533 Mon Sep 17 00:00:00 2001 From: Akinsola Lawanson <106528085+akinsola-guardian@users.noreply.github.com> Date: Fri, 24 May 2024 16:23:32 +0200 Subject: [PATCH] add runtime id to monitoring (#995) --- .github/workflows/monitoring-CI.yml | 2 -- cdk/lib/monitoring.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/monitoring-CI.yml b/.github/workflows/monitoring-CI.yml index 5e01e79e8..9fba14bbe 100644 --- a/.github/workflows/monitoring-CI.yml +++ b/.github/workflows/monitoring-CI.yml @@ -11,8 +11,6 @@ jobs: id-token: write contents: read pull-requests: write # to be able to comment on released pull requests - env: - LAMBDA_RUNTIME_ID: ${{ secrets.LAMBDA_RUNTIME_ID }} steps: - uses: actions/checkout@v4 diff --git a/cdk/lib/monitoring.ts b/cdk/lib/monitoring.ts index e578b5f0d..3a239cd35 100644 --- a/cdk/lib/monitoring.ts +++ b/cdk/lib/monitoring.ts @@ -30,7 +30,7 @@ export class Monitoring extends GuStack { const lambdaBaseName = 'cmp-monitoring'; - const runTimeId = process.env.LAMBDA_RUNTIME_ID; + const runTimeId = "0cdcfbdefbc5e7d3343f73c2e2dd3cba17d61dea0686b404502a0c9ce83931b9"; const prodDurationInMinutes = 2;