Skip to content

Commit

Permalink
Upgrade runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake He committed May 7, 2024
1 parent 2b41b1e commit a0aa645
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aws-mwaa-environment/.rpdk-config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"typeName": "AWS::MWAA::Environment",
"language": "java",
"runtime": "java8",
"runtime": "java17",
"entrypoint": "software.amazon.mwaa.environment.HandlerWrapper::handleRequest",
"testEntrypoint": "software.amazon.mwaa.environment.HandlerWrapper::handleRequest",
"executableEntrypoint": "software.amazon.mwaa.environment.HandlerWrapperExecutable",
Expand Down
4 changes: 2 additions & 2 deletions aws-mwaa-environment/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.mwaa.environment.HandlerWrapper::handleRequest
Runtime: java8
Runtime: java17
CodeUri: ./target/aws-mwaa-environment-1.0.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.mwaa.environment.HandlerWrapper::testEntrypoint
Runtime: java8
Runtime: java17
CodeUri: ./target/aws-mwaa-environment-1.0.jar

4 changes: 2 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ version: 0.2
phases:
install:
runtime-versions:
java: openjdk8
python: 3.7
java: openjdk17
python: 3.11
commands:
- pip install pre-commit cloudformation-cli-java-plugin
build:
Expand Down

0 comments on commit a0aa645

Please sign in to comment.