Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Advance aws-cdk version to 1.160.0
Browse files Browse the repository at this point in the history
When doing this.
One thing had changed name to apigw_integrations.HttpLambdaIntegration
and required a new id argument.
  • Loading branch information
f-skold committed Jun 25, 2022
1 parent 3fcef8d commit 4e59f0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

extra_reqs = {
"deploy": [
"aws-cdk.core==1.76.0",
"aws-cdk.aws_lambda==1.76.0",
"aws-cdk.aws_apigatewayv2==1.76.0",
"aws-cdk.aws_apigatewayv2_integrations==1.76.0",
"aws-cdk.core==1.160.0",
"aws-cdk.aws_lambda==1.160.0",
"aws-cdk.aws_apigatewayv2==1.160.0",
"aws-cdk.aws_apigatewayv2_integrations==1.160.0",
],
"test": ["pytest", "pytest-cov", "pytest-asyncio", "requests"],
}
Expand Down
3 changes: 2 additions & 1 deletion stack/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def __init__(
api = apigw.HttpApi(
self,
f"{id}-endpoint",
default_integration=apigw_integrations.LambdaProxyIntegration(
default_integration=apigw_integrations.HttpLambdaIntegration(
id=f"{id}-endpoint-lambda",
handler=lambda_function
),
)
Expand Down

0 comments on commit 4e59f0e

Please sign in to comment.