aws / aws/eks-anywhere

Refactor `Delete` workflow

Open
#1,949 0 comments 0 reactions 0 assignees View on GitHub
area/cli kind/enhancement team/cli
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What would you like to be added**:
Refactor the `delete cluster` workflow to use the Management cluster field which was [added to the command context](https://github.com/aws/eks-anywhere/blob/3f6b8e36934306d4732ba0f9167bcaaa9c65e075/pkg/task/task.go#L35).

**Why is this needed**:
This change will be done to make naming consistent through out the workflows.

Contributor guide

Open the contributing guide

Research direction

Start with pkg/task/task.go and the command context's Management cluster field linked in the issue, then trace the delete cluster command workflow. Done means the workflow uses that field and its naming is consistent with the other workflows; no tests are named, so identify the relevant validation while tracing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.