Skip to content

Commit

Permalink
Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.21.21 (#1120)
Browse files Browse the repository at this point in the history
* Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.21.21

* upgrade the localstack version
explicitly create and delete kinesis stream for tests

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: dmytro.obodowsky <[email protected]>
  • Loading branch information
3 people authored Nov 21, 2023
1 parent 35ae1dc commit d0a0412
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
exit 0;
"
localstack:
image: localstack/localstack:1.2.0
image: localstack/localstack:3
ports:
- 4566:4566
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class NewLocalStackSuite extends AnyFlatSpec with Matchers with ScalaFutures {

val data = List("foo", "bar", "baz")

val test = kAlgebraResource(kac, dac, cac).use { case (_, kAlgebra) =>
val test = kAlgebraResource(kac, dac, cac).use { case (ki, kAlgebra) =>
for {
_ <- Stream
.emits(data)
Expand Down Expand Up @@ -207,6 +207,9 @@ class NewLocalStackSuite extends AnyFlatSpec with Matchers with ScalaFutures {
k <- i.KinesisAsyncClientResource(kac)
kinesisInterpreter = i.create(k)
kAlgebra = Kinesis.create[IO](k, d, c)
_ <- Resource.make(
kinesisInterpreter.createStream(CreateStreamRequest.builder().streamName("test").build())
)(_ => kinesisInterpreter.deleteStream(DeleteStreamRequest.builder().streamName("test").build()).void)
} yield kinesisInterpreter -> kAlgebra

}
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import sbt.{Def, _}
object Dependencies {

object V {
val AwsSdk = "2.21.15"
val AwsSdk = "2.21.21"
val Circe = "0.14.5"
val Munit = "0.7.29"
val Fs2 = "3.9.3"
Expand Down
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Required for the freegen definition in ../build.sbt
val AwsSdk = "2.21.15"
val AwsSdk = "2.21.21"

libraryDependencies += "software.amazon.awssdk" % "sqs" % AwsSdk
libraryDependencies += "software.amazon.awssdk" % "s3" % AwsSdk
Expand Down

0 comments on commit d0a0412

Please sign in to comment.