Open l0b0 opened 1 year ago
Have been thinking about this a bit, as it is one of my pain points with geostore. I think it is possible to speed things up by sourcing the lambda code from s3 lambda.Code.fromBucket(bucket, key[, objectVersion])
; however, where I am stuck at is how do we maintain this and how do we orchestrate the re-bundling of code when there is a lambda code change. Will continue to ponder, but yea, rebundling lambdas each time we do a cdk synth
or cdk deploy
seems wasteful and time consuming.
Enabler
So that deployment is faster, we want to use a lighter base Docker image.
Acceptance Criteria
Additional context
After a
cdk deploy
my system has the following Docker images:Tasks
infrastructure/constructs/lambda_layers/botocore