-
Notifications
You must be signed in to change notification settings - Fork 2
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
Delete default task execution role on recursive delete of service #45
Conversation
fishnix
commented
Mar 8, 2021
- Cleanup default task execution role on recursive delete of service.
- Fix a bug where we always try to delete the cluster.
@@ -107,3 +107,39 @@ func (i *IAM) GetRolePolicy(ctx context.Context, role, policy string) (string, e | |||
|
|||
return d, nil | |||
} | |||
|
|||
func (i *IAM) ListRolePolicies(ctx context.Context, role string) ([]string, error) { |
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.
missing the function comment, here and a couple more places. I can't remember if non-exported functions conventionally need function comments.
looks good. Just a few comments. Does the circleci failure matter? |
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.
Looks good, just need to have the proper role name above
* manage default task execution policy for container services * Delete default task execution role on recursive delete of service (#45)