-
Notifications
You must be signed in to change notification settings - Fork 302
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
Instance role when added not working #132
Comments
The runner creation works without instance-role |
It seems like it is actually expecting an InstanceProfile, not a role. You can use the CLI to create an InstanceProfile for a given role. Then in your start job, use the instance profile name (not the ARN) and it should work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have added the additional permissions in the role as documented but it keeps throwing this error
Run machulav/ec2-github-runner@v2
(https://github.com/ad-tech/pocs/actions/runs/4020315401/jobs/6908102164#step:4:23)
GitHub Registration Token is received
23
Error: AWS EC2 instance starting error
24
Error: InvalidParameterValue: Value (GithubActionRunner) for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
25
Error: Value (GithubActionRunner) for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
The text was updated successfully, but these errors were encountered: