Skip to content

Instantly share code, notes, and snippets.

@cmcconnell1
Created July 27, 2020 23:43
Show Gist options
  • Save cmcconnell1/91150a034b9a5dbf6f2260a6b1933e94 to your computer and use it in GitHub Desktop.
Save cmcconnell1/91150a034b9a5dbf6f2260a6b1933e94 to your computer and use it in GitHub Desktop.
terraform-aws-github-runner lambda scale up SQS PEM error
2020-07-27T16:33:53.349-07:00
2020-07-27T23:33:53.349Z fa882d3a-bfeb-579f-b680-7aa3d978a21f INFO {
Records: [
{
messageId: '4ead6fb3-1461-46d2-beb7-29fecf44195a',
receiptHandle: 'AQEB5K0sqP+/kRXkevHdoRCjkj5htZzO+TqfHmBcwbFP8vVgBVzFayhVsLzjUkULTOvLUN2MCHprzLoe4nLLvxDtXPi3j0x83EWpT8V56rttxYNUivcHG4JPpUepHc4G26WrIocNAch5vGU7wMZYvsI5zCoeWJaMQO5rHIYHLsZx1vrCLHuPshPe8RVSDEn/7ni/V5hNsszbgZSLrnFok2LuFPLD6rvIvUWy1jg4TrFcd7yX9+2J/uUgESBfA0Pp8vY+A/nEzZ4oD9zpMWwWdgXF3JV7Pfe7AR5xSKGGsFs8M7Q=',
body: '{"id":916373631,"repositoryName":"cmcc-test-runner","repositoryOwner":"terradatum","eventType":"check_run","installationId":10551986}',
attributes: [Object],
messageAttributes: {},
md5OfBody: 'bc2b7f5c76ad9b37b1e23e97ce2a5519',
eventSource: 'aws:sqs',
eventSourceARN: 'arn:aws:sqs:us-west-2:076613928512:dev-usw2-queued-builds.fifo',
awsRegion: 'us-west-2'
}
]
}
2020-07-27T16:33:53.466-07:00
2020-07-27T23:33:53.466Z fa882d3a-bfeb-579f-b680-7aa3d978a21f ERROR Error: error:0909006C:PEM routines:get_name:no start line at Sign.sign (internal/crypto/sig.js:105:29) at Object.sign (/var/task/index.js:12802:45) at Object.jwsSign [as sign] (/var/task/index.js:9637:24) at Object.module.exports.6343.module.exports [as sign] (/var/task/index.js:36570:16) at getToken (/var/task/index.js:1861:23) at Object.githubAppJwt (/var/task/index.js:1882:23) at getAppAuthentication (/var/task/index.js:1509:57) at getInstallationAuthentication (/var/task/index.js:1630:35) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) { library: 'PEM routines', function: 'get_name', reason: 'no start line', code: 'ERR_OSSL_PEM_NO_START_LINE' }
2020-07-27T16:33:53.466-07:00
2020-07-27T23:33:53.466Z fa882d3a-bfeb-579f-b680-7aa3d978a21f ERROR Invoke Error
{
"errorType": "Error",
"errorMessage": "Failed handling SQS event",
"stack": [
"Error: Failed handling SQS event",
" at _homogeneousError (/var/runtime/CallbackContext.js:12:12)",
" at postError (/var/runtime/CallbackContext.js:29:54)",
" at callback (/var/runtime/CallbackContext.js:41:7)",
" at /var/runtime/CallbackContext.js:104:16",
" at /var/task/index.js:17333:16",
" at Generator.throw (<anonymous>)",
" at rejected (/var/task/index.js:17315:65)",
" at runMicrotasks (<anonymous>)",
" at processTicksAndRejections (internal/process/task_queues.js:97:5)"
]
}
2020-07-27T16:33:53.485-07:00
END RequestId: fa882d3a-bfeb-579f-b680-7aa3d978a21f
2020-07-27T16:33:53.485-07:00
REPORT RequestId: fa882d3a-bfeb-579f-b680-7aa3d978a21f Duration: 136.83 ms Billed Duration: 200 ms Memory Size: 128 MB Max Memory Used: 128 MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment