Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade runtimes #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: corretto17
python: 3.11
commands:
- pip install pre-commit cloudformation-cli-java-plugin
build:
Expand Down