-
Notifications
You must be signed in to change notification settings - Fork 40
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
fix: check for role attached to instance profile and create if it doe… #372
base: master
Are you sure you want to change the base?
Conversation
…s not exist Signed-off-by: Jonah Back <[email protected]>
189db45
to
a1f6192
Compare
Signed-off-by: Jonah Back <[email protected]>
bf98b60
to
f994628
Compare
Signed-off-by: Jonah Back <[email protected]>
d42d6c9
to
fccafef
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #372 +/- ##
==========================================
- Coverage 50.38% 50.35% -0.03%
==========================================
Files 33 33
Lines 5216 5219 +3
==========================================
Hits 2628 2628
- Misses 2439 2442 +3
Partials 149 149 ☔ View full report in Codecov by Sentry. |
@@ -224,10 +229,9 @@ func (w *AwsWorker) CreateScalingGroupRole(name string) (*iam.Role, *iam.Instanc | |||
return createdRole, createdProfile, errors.Wrap(err, "failed to attach instance-profile") | |||
} | |||
} | |||
} else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an indentation problem from line 226?
Fixes #371