Skip to content

Commit 020deca

Browse files
committed
Update for issue #15
1 parent b55275a commit 020deca

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ export AWS_ACCESS_KEY_ID=...
2929
export AWS_SECRET_ACCESS_KEY=...
3030
```
3131

32+
### Service linked roles
33+
Currently the ec2 instance role does not allow creation of service linked roles. The runner instances is depended on the following two service linked roles:
34+
- AWSServiceRoleForAutoScaling
35+
- AWSServiceRoleForEC2Spot
36+
37+
You can create them manually or via terraform.
38+
39+
```
40+
resource "aws_iam_service_linked_role" "spot" {
41+
aws_service_name = "spot.amazonaws.com"
42+
}
43+
44+
resource "aws_iam_service_linked_role" "autoscaling" {
45+
aws_service_name = "autoscaling.amazonaws.com"
46+
}
47+
```
3248

3349
### Configuration GitLab runner token
3450
Currently register a new runner is a manual process. See the GitLab Runner [documentation](https://docs.gitlab.com/runner/register/index.html#docker) for more details.

0 commit comments

Comments
 (0)