digitalocean / digitalocean/doctl
Add ability to protect (or ignore) certain droplets so they can't be demolished inadvertently
Open
do-api
suggestion
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
**What is the problem this feature would solve? Please describe.**
Sometimes when I'm using doctl, I manage to delete the wrong droplet.
**Describe the solution you'd like**
I'd like to know if it would be possible to add a way to ignore certain droplets so doctl can't demolish them inadvertently.
**Additional context**
It could be added to the existing `$HOME/.config/doctl/config.yaml` or a new file called `$HOME/.config/doctl/protect.yaml`
Example:
```
protect:
droplets: "293857,1230985720643,1031689246,283756198,9237859183,9128375135"
```
Contributor guide
Assessment
This issue has not been assessed yet.