-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Move IAM Service Account Tasks to actions package #7140
Conversation
d3fd457
to
5dc91f9
Compare
5dc91f9
to
e10ecfe
Compare
errMsg := fmt.Sprintf("deleting addon IAM %q", *t.stack.StackName) | ||
if t.wait { | ||
if err := t.stackManager.DeleteStackBySpecSync(t.ctx, t.stack, errorCh); err != nil { | ||
return fmt.Errorf("%s: %w", errMsg, err) | ||
} | ||
return nil | ||
} | ||
|
||
defer close(errorCh) |
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.
Closing error channel to early here was nullifying the effect of the --wait
flag
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.
It actually introduced a bug - #7177. Going to address it in a separate PR.
Description
Closes #6961
Migrates IAM service account create/delete tasks to the
actions/irsa
package, reducing the complexity of StackManager interface used for defining interactions with CFN API.Checklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯