Skip to content

Commit 5fd3e7f

Browse files
committed
Exclude ec2/asg
1 parent 71b66eb commit 5fd3e7f

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
@@ -120,10 +120,15 @@ lazy val common = project
120120
"org.tpolecat" %% "doobie-h2" % doobieVersion % Test,
121121
"com.gu" %% "mobile-logstash-encoder" % "1.1.8",
122122
"com.gu" %% "simple-configuration-ssm" % simpleConfigurationVersion,
123+
"software.amazon.awssdk" % "regions" % "2.25.13",
123124
"org.postgresql" % "postgresql" % "42.7.7",
124125
"ch.qos.logback" % "logback-core" % logbackVersion,
125126
"ch.qos.logback" % "logback-classic" % logbackVersion,
126127
),
128+
excludeDependencies ++= Seq(
129+
ExclusionRule("software.amazon.awssdk", "ec2"),
130+
ExclusionRule("software.amazon.awssdk", "autoscaling")
131+
),
127132
fork := true,
128133
startDynamoDBLocal := startDynamoDBLocal.dependsOn(Test / compile).value,
129134
Test / test := (Test / test).dependsOn(startDynamoDBLocal).value,
@@ -437,6 +442,10 @@ lazy val notificationworkerlambda = lambda("notificationworkerlambda", "notifica
437442
ExclusionRule("com.google.cloud", "google-cloud-storage"),
438443
ExclusionRule("com.google.cloud", "google-cloud-firestore"),
439444

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

0 commit comments

Comments
 (0)