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

Refactor lambda package generation in CDK #99

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

leothomas
Copy link
Contributor

Closes #98
Big thank you to @vincentsarago for helping out!

What I did:

Refactored the lambda package generation to use from_asset instead of asset in the CDK stack, since `assets is deprecated

How I did it:

See code here, also make some modifications to the lambda/Dockerfile to ensure the code package get's output to the correct location

How you can test it:

Pull this branch and run cdk deploy covid-api-lambda-{STAGE_NAME}. Verify that the lambda package was correctly deployed

@leothomas leothomas added the bug Something isn't working label Dec 23, 2020
@leothomas leothomas self-assigned this Dec 23, 2020
@leothomas leothomas merged commit 71ed733 into develop Jan 5, 2021
@leothomas leothomas deleted the bugfix/lambda-cdk-asset-generation branch January 5, 2021 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Lambda package generation in CDK
3 participants