Skip to content

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.

2 participants