Skip to content

Update runner_autoscale_aws documentation with required iam:PassRole

What does this MR do?

For Autoscaling GitLab Runner on AWS EC2, the iam:PassRole is necessary to add to the EC2 instance profile. Adding this information to the documentation, with an IAM policy example.

Why was this MR needed?

For Autoscaling GitLab Runner on AWS EC2, the iam:PassRole is necessary to add to the EC2 instance profile. Otherwise the runner machine can't be created.

What's the best way to test this MR?

Follow the current documentation using the EC2 instance profile (no access keys). The runner machine can't be created. Now add the iam:PassRole to the instance profile.

What are the relevant issue numbers?

iam:PassRole is required, as mentioned in #4918 (closed)

Merge request reports