Merge `awsNuke` and `awsDefaults` Logics
Closed this issue · 3 comments
james03160927 commented
Context/Background
Right now, you will notice that we have separate routes for awsNuke
and awsDefaults
:
- awsDefaults: nuking default VPCs
- awsNuke: nuking other resources
However, there seems to be quite a lot of changes we can merge and streamline.
ec2.go
file currently contains nuking operations for a lot of resources (e.g., internet gateway, subnet, route tables). Let's separate it out to individual resources.- we support functionality on individual resources to support nuking default vs. non-default resources
- we make changes in
awsDefaults
to follow similar logic asawsNuke
to nuke default resources. - we deprecate
awsDefaults
and create a parameter or config inawsNuke
to target default resources.
Hrushi20 commented
Hey! Can I work on this issue?
james03160927 commented
HI @Hrushi20, I'm actually working on this change!
Hrushi20 commented
Are there any issues I can work on?