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
{{ message }}
Repository navigation
Extraction of parameter name from id_ssm_parameter_arn variable. #4959
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
...
ERROR [runners-4cpu-16gb-arm64-scale-up]: Error processing batch (size: 1): Failed to lookup runner AMI ID from SSM parameter: github-action-runners/packer/ubuntu-jammy-arm64/ami-id, GetParameterError: User: arn:aws:sts::1111111111:assumed-role/runners-4cpu-16gb-arm64-scale-up-lambda-13531bee/runners-4cpu-16gb-arm64-scale-up is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-east-2:1111111111:* because no identity-based policy allows the ssm:GetParameter action, ignoring batch
Activity
Brend-Smits commentedon Dec 18, 2025
We were seeing the same issue in our environment.
joemiller commentedon Dec 20, 2025
ran into this too, i believe:
fix(runners): correct regex pattern for extracting AMI ID from SSM pa…
chore(main): release 7.3.0 (#4997)
fix(runners): correct regex pattern for extracting AMI ID from SSM pa…
chore(main): release 7.3.0 (github-aws-runners#4997)