Skip to content

Commit b368e63

Browse files
committed
Upgrade version of simple config
1 parent aa47e76 commit b368e63

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ releaseProcess := Seq[ReleaseStep](
2121
setNextVersion,
2222
commitNextVersion
2323
)
24-
ThisBuild / scalaVersion := "2.13.17"
24+
ThisBuild / scalaVersion := "2.13.18"
2525

2626
ThisBuild / dockerBaseImage := "eclipse-temurin:8-jdk"
2727

@@ -47,7 +47,7 @@ val apacheThrift: String = "0.15.0"
4747
val jacksonDatabind: String = "2.19.1"
4848
val jacksonCbor: String = "2.19.1"
4949
val jacksonScalaModule: String = "2.19.1"
50-
val simpleConfigurationVersion: String = "1.5.7"
50+
val simpleConfigurationVersion: String = "9.0.2"
5151
val googleOAuthClient: String = "1.39.0"
5252
val nettyVersion: String = "4.2.2.Final"
5353
val slf4jVersion: String = "1.7.36"

cdk/bin/cdk.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import 'source-map-support/register';
21
import type { GuStackProps } from '@guardian/cdk/lib/constructs/core';
2+
import { GuLambdaFunction } from '@guardian/cdk/lib/constructs/lambda';
3+
import 'source-map-support/register';
34
import { App } from 'aws-cdk-lib';
45
import { Registration } from '../lib/registration';
56
import { RegistrationsDbProxy } from '../lib/registrations-db-proxy';
@@ -92,3 +93,9 @@ export const reportPropsProd: ReportProps = {
9293
minAsgSize: 3,
9394
};
9495
new Report(app, 'Report-PROD', reportPropsProd);
96+
97+
// Disable v1 deprecation warning across all lambda functions
98+
const lambdas = app.node.findAll().filter((_) => _ instanceof GuLambdaFunction);
99+
lambdas.forEach((l) =>
100+
l.addEnvironment('AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT', 'true'),
101+
);

0 commit comments

Comments
 (0)