Skip to content

Commit 510f2ff

Browse files
committed
Exclude ec2/asg
1 parent 662969f commit 510f2ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.sbt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,15 @@ lazy val common = project
121121
"org.tpolecat" %% "doobie-h2" % doobieVersion % Test,
122122
"com.gu" %% "mobile-logstash-encoder" % "1.1.8",
123123
"com.gu" %% "simple-configuration-ssm" % simpleConfigurationVersion,
124+
"software.amazon.awssdk" % "regions" % "2.25.13",
124125
"org.postgresql" % "postgresql" % "42.7.7",
125126
"ch.qos.logback" % "logback-core" % logbackVersion,
126127
"ch.qos.logback" % "logback-classic" % logbackVersion,
127128
),
129+
excludeDependencies ++= Seq(
130+
ExclusionRule("software.amazon.awssdk", "ec2"),
131+
ExclusionRule("software.amazon.awssdk", "autoscaling")
132+
),
128133
fork := true,
129134
startDynamoDBLocal := startDynamoDBLocal.dependsOn(Test / compile).value,
130135
Test / test := (Test / test).dependsOn(startDynamoDBLocal).value,
@@ -438,6 +443,10 @@ lazy val notificationworkerlambda = lambda("notificationworkerlambda", "notifica
438443
ExclusionRule("com.google.cloud", "google-cloud-storage"),
439444
ExclusionRule("com.google.cloud", "google-cloud-firestore"),
440445

446+
// Exclude unnecessary AWS SDK services from simple-configuration-core
447+
ExclusionRule("software.amazon.awssdk", "ec2"),
448+
ExclusionRule("software.amazon.awssdk", "autoscaling"),
449+
441450
// gRPC modules not needed for FCM HTTP API
442451
ExclusionRule("io.grpc", "grpc-xds"), // 34.24MB
443452
ExclusionRule("io.grpc", "grpc-netty"), // 9.28MB

0 commit comments

Comments
 (0)