Skip to content
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

Merged
merged 4 commits into from
Mar 11, 2021

Conversation

fishnix
Copy link
Contributor

@fishnix 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) {
Copy link
Contributor

@damnski damnski Mar 9, 2021

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.

@damnski
Copy link
Contributor

damnski commented Mar 9, 2021

looks good. Just a few comments. Does the circleci failure matter?

Copy link
Contributor

@tenyo tenyo left a 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

@fishnix fishnix merged commit 6a37d6e into cf322-spin-2239 Mar 11, 2021
fishnix added a commit that referenced this pull request Mar 11, 2021
* manage default task execution policy for container services
* Delete default task execution role on recursive delete of service (#45)
@fishnix fishnix deleted the cf322-spin-1800 branch March 28, 2021 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants