Comments (5)
Looks like AWS creates the AWSServiceRoleForEC2Spot role automatically on the first ever spot instance request.
So, if you make a spot request via aws (web), it will probably solve your problem
from aws-autoscaling-gitlab-runner.
Hi @MartinLoeper ! Thanks a lot for your interest in this project and your report.
I'm afraid I tested this on an account that already had a service linked role, so the iam:CreateServiceLinkedRole
permission was not needed. π±
I might try to force the creation of the service-linked role in the CloudFormation template to ensure it's present, but I wonder if that will workβ¦ π€
from aws-autoscaling-gitlab-runner.
Hi @fquffio, unfortunately I do not know which service linked role has to be created there. π
I just wanted to make it work as quickly as possible and adding the permission above works well.
If you come up with a proper solution, I might test it on our infrastructure.
from aws-autoscaling-gitlab-runner.
I'll try to open a PR in the afternoon, but I'm afraid you'd have to delete all service-linked roles before testingβ¦ π
I might try to find an AWS account in which I have never used spot instances. π€
from aws-autoscaling-gitlab-runner.
I ran into the same issue. Here the PR #12
from aws-autoscaling-gitlab-runner.
Related Issues (7)
- Possible to pull from private aws ecr-registry
- outdated docker machine image fails to load runners HOT 1
- Limited IAM profile HOT 6
- EIP is not associated to EC2::Instance: no internet connection from Manager HOT 1
- Clarification on Manager Image HOT 4
- zoneinfo.zip: no such file or directory error when using OffPeakTimezone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-autoscaling-gitlab-runner.