-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrade memory for pieriandx glue lambdas #634
Conversation
Figured out the lambda error. Thank you, you were right! Logging.info not writing to console. Lambdas was getting stuck waking up the redcap lambda because I used
But props.redcapLambdaObj.latestVersion ARN resolves to just arn:aws:lambda:ap-southeast-2:843407916570:function:redcap-apis-dev-lambda-function:$LATEST Rather than the actual version number. With print statements in the error section for the wake_up_lambdas step I get
So instead of
The fact that logger.info isn't working is concerning, I used the logger command across almost all python functions, will try debug this for a future PR |
This didn't work, latestVersion.version also returns just $LATEST rather than the number, using a NagSuppression instead |
…py object requires redcap lambda version
1eb597a
to
19f3ce5
Compare
Suppress the nag globally if need be. For now. Would be nice if we can merge this fix in. Before Run 236 hits to O3. No pressure! :D |
Ditto, adding the cdk nag suppression after the infringing line / construct method resolved the issue |
Note that this still doesn't seem to fix the issue.
https://ap-southeast-2.console.aws.amazon.com/states/home?region=ap-southeast-2#/v2/executions/details/arn:aws:states:ap-southeast-2:843407916570:execution:nails-cttsov2-complete-to-pdx-sfn:f9fde40f-5986-437a-80b5-adcc0f34f07e
Fails because the 'get recap info' step times out.
Most recent logs don't show anything
https://ap-southeast-2.console.aws.amazon.com/cloudwatch/home?region=ap-southeast-2#logsV2:log-groups/log-group/$252Faws$252Flambda$252FOrcaBusBeta-StackyMcStack-cttsov2topieriandxgetDat-K0RFO3ts0afo/log-events/2024$252F10$252F31$252F$255B7$255Dd4b12f54af964991a4c0244662496c1f
Max memory used is only about 116 Mb, far shy of the 2048 limit.