diff --git a/examples/aws-kinesis/amazonKinesisClient.groovy b/examples/aws-kinesis/amazonKinesisClient.groovy index b8347f68..aa68cc03 100644 --- a/examples/aws-kinesis/amazonKinesisClient.groovy +++ b/examples/aws-kinesis/amazonKinesisClient.groovy @@ -21,7 +21,7 @@ import software.amazon.awssdk.services.kinesis.KinesisClient KinesisClient kinesisClient = KinesisClient .builder() - .endpointOverride(URI.create("${YAKS_TESTCONTAINERS_LOCALSTACK_KINESIS_URL}")) + .endpointOverride(URI.create("${YAKS_TESTCONTAINERS_LOCALSTACK_SERVICE_URL}")) .credentialsProvider(StaticCredentialsProvider.create( AwsBasicCredentials.create( "${YAKS_TESTCONTAINERS_LOCALSTACK_ACCESS_KEY}",