Skip to content

Commit 18f5afc

Browse files
committed
Upgraded CDK, Java and Gradle versions
1 parent 2a9e8fe commit 18f5afc

File tree

6 files changed

+189
-163
lines changed

6 files changed

+189
-163
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Amazon Aurora DSQL.
1515
2. Execute the [schema.sql](demo-app/schema.sql) on the newly created Amazon Aurora DSQL cluster
1616
3. The project has been built and tested using below configurations on `x86` architecture
1717

18-
a. Java - `v17.0.13` and Gradle - `v8.11.1`
18+
a. Java - `v17.0.14` and Gradle - `v8.13`
1919

2020
```shell
2121
# Install SDKMAN - https://sdkman.io/install/
2222
curl -s "https://get.sdkman.io" | bash
23-
sdk install java 17.0.13-amzn
24-
sdk install gradle 8.11.1
23+
sdk install java 17.0.14-amzn
24+
sdk install gradle 8.13
2525
```
2626
b. Python - `v3.13`
2727

@@ -34,7 +34,7 @@ Amazon Aurora DSQL.
3434
pyenv global 3.13
3535
```
3636

37-
c. AWS CDK - `v2.177.0`
37+
c. AWS CDK - `v2.1006.0`
3838
```shell
3939
# Install NVM
4040
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
@@ -43,7 +43,7 @@ Amazon Aurora DSQL.
4343
nvm install --lts
4444
4545
# Install AWS CDK
46-
npm install -g aws-cdk@2.177.0
46+
npm install -g aws-cdk@2.1006.0
4747
```
4848

4949
d. Install `curl` and `jq`

demo-app/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Use Amazon Corretto JDK 17 as the base image
55
ARG PLATFORM=linux/arm64
6-
FROM --platform=${PLATFORM} public.ecr.aws/amazoncorretto/amazoncorretto:17.0.13 AS builder
6+
FROM --platform=${PLATFORM} public.ecr.aws/amazoncorretto/amazoncorretto:17.0.14 AS builder
77

88
# Set working directory
99
WORKDIR /app
@@ -23,7 +23,7 @@ COPY src ./src
2323
RUN ./gradlew build -x test --no-daemon
2424

2525
# Runtime stage
26-
FROM --platform=${PLATFORM} public.ecr.aws/amazoncorretto/amazoncorretto:17.0.13
26+
FROM --platform=${PLATFORM} public.ecr.aws/amazoncorretto/amazoncorretto:17.0.14
2727

2828
# Create non-root user
2929
RUN yum install -y shadow-utils && \

demo-app/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

infrastructure/cdk.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@
8181
"@aws-cdk/aws-ec2:bastionHostUseAmazonLinux2023ByDefault": true,
8282
"@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource": true,
8383
"@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault": true,
84-
"@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections": true
84+
"@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections": true,
85+
"@aws-cdk/core:enableAdditionalMetadataCollection": true,
86+
"@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": true,
87+
"@aws-cdk/aws-s3:setUniqueReplicationRoleName": true
8588
}
8689
}

0 commit comments

Comments
 (0)