You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe extraction of parameter name introduced by 8afc75c is too aggressive.
Based on AWS docs, You can have SSM parameters organized into hierarchies.
If Your id_ssm_parameter_arn variable starts with / (i.e. /tenant/project/region/github-runner/runner-ami), leading / is lost and scale-up lambda errors out with
...
"module":"lambda.ts","error":
{"name":"Error","location":"file:///var/task/index.js:125007","message":"Failed to lookup runner AMI ID from SSM parameter: tenant/project/region/github-runner/runner-ami
...