diff --git a/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java b/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java index 36feda49..97c92b9f 100644 --- a/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java +++ b/aws-cloudwatch-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java @@ -14,7 +14,7 @@ public class LocalStackConfig { static { localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.2.0")) + DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withServices(CLOUDWATCH) .withExposedPorts(4566); localStackContainer.start(); diff --git a/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java b/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java index 8d3f3c68..e1c9eeae 100644 --- a/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java +++ b/aws-dynamodb-project/src/test/java/com/learning/awsspring/common/LocalStackConfig.java @@ -12,7 +12,7 @@ @Slf4j public class LocalStackConfig { protected static final LocalStackContainer LOCAL_STACK_CONTAINER = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java index 6ed72503..f9e4f673 100644 --- a/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java +++ b/aws-kinesis-project/consumer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java @@ -20,7 +20,7 @@ public class LocalStackConfig { @Container static LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.2.0")); + new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.3.2")); static { localStackContainer.start(); diff --git a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java index e75dce36..423167c4 100644 --- a/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java +++ b/aws-kinesis-project/producer/src/test/java/com/learning/aws/spring/common/LocalStackConfig.java @@ -20,7 +20,7 @@ public class LocalStackConfig { System.setProperty("com.amazonaws.sdk.disableCbor", "true"); localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.1.0")) + DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withEnv("EAGER_SERVICE_LOADING", "1") .withServices(KINESIS) .withExposedPorts(4566); diff --git a/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java b/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java index fbc8984a..bfc620ea 100644 --- a/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java +++ b/aws-parameterstore-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java @@ -8,7 +8,7 @@ public class LocalStackContainerConfig { private static final LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withCopyFileToContainer( MountableFile.forHostPath("localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java index bb37cd06..837eb714 100644 --- a/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java +++ b/aws-s3-project/src/test/java/com/learning/awspring/TestS3Application.java @@ -18,11 +18,11 @@ public class TestS3Application { @ServiceConnection @RestartScope PostgreSQLContainer postgresContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres:15.4-alpine")); + return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.0-alpine")); } static final LocalStackContainer LOCALSTACKCONTAINER = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.2.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withCopyFileToContainer( MountableFile.forHostPath(".localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java index f0ff419c..3bf6848f 100644 --- a/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java +++ b/aws-secretmanager-project/src/test/java/com/example/awsspring/common/LocalStackContainerConfig.java @@ -8,7 +8,7 @@ public class LocalStackContainerConfig { private static final LocalStackContainer localStackContainer = - new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.1.0")) + new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("2.3.2")) .withCopyFileToContainer( MountableFile.forHostPath("localstack/"), "/etc/localstack/init/ready.d/") diff --git a/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java b/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java index 6813ec4e..810ca34d 100644 --- a/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java +++ b/aws-ses-project/src/test/java/com/example/awsspring/common/LocalStackConfig.java @@ -14,7 +14,7 @@ public class LocalStackConfig { static final LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.2.0")); + DockerImageName.parse("localstack/localstack").withTag("2.3.2")); static { localStackContainer.start(); diff --git a/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java b/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java index 28af274f..80a741f9 100644 --- a/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java +++ b/aws-sqs-project/src/test/java/com/learning/awspring/config/TestcontainersConfig.java @@ -13,12 +13,12 @@ public class TestcontainersConfig { @Bean @ServiceConnection public PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>("postgres:15.3-alpine"); + return new PostgreSQLContainer<>("postgres:16.0-alpine"); } static final LocalStackContainer localStackContainer = new LocalStackContainer( - DockerImageName.parse("localstack/localstack").withTag("2.1.0")); + DockerImageName.parse("localstack/localstack").withTag("2.3.2")); static { localStackContainer.start();