Skip to content

[Task] Unify the different Delete methods #5451

Open
@Himangini

Description

@Himangini

Description

See comment here

  • (7~ methods) Tasks for creating/deleting stacks (returning a *tasks.TaskTree) e.g.NewTasksToCreateIAMServiceAccounts, NewTasksToDeleteIAMServiceAccounts, DeleteTasksForDeprecatedStacks
  • (4~ methods) Deleting stacks directly (not via task), e.g. DeleteStackSync(s *Stack) error, DeleteStackBySpec(s *Stack) (*Stack, error)

We need to

  • Unify the different Delete methods (@Skarlso might of tried this recently?) into 1 func that has a DeleteOpts that allow you to customise how the deletion works (via spec/name, sync/async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/tech-debtLeftover improvements in code, testing and buildingpriority/important-longtermImportant over the long term, but may not be currently staffed and/or may require multiple releases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions