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

Fix, bump aws-cdk version #151

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Fix, bump aws-cdk version #151

wants to merge 1 commit into from

Conversation

anayeaye
Copy link
Collaborator

What

Bump aws-cdk libs from >=1.72.0 to 1.108.0 to resolve AttributeError: module 'aws_cdk.aws_apigatewayv2_integrations' has no attribute 'LambdaProxyIntegration'. Pining the exact version is overkill but versions of the lib >=1.72.0 is not enough to ensure a version with the LambdaProxyIntegration.

How test

To test, follow the build and deployment steps from the circleci yml in a local env. For maintainers in the covid response account, developer aws credentials plus the environment variables stored in the secretsmanager secret named covid-api-env. Example is for staging, can swap in prod.

python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[deploy]'
CDK_DEFAULT_ACCOUNT=<acct> AWS_ACCESS_KEY_ID=<your secret id> AWS_SECRET_ACCESS_KEY=<your key> PLANET_API_KEY=<planet-key> STAGE='staging' cdk deploy covid-api-lambda-staging --region us-east-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant