Skip to content

--skip or --ignore flag to prevent certain resource types from being deleted #68

@JakeBogie

Description

@JakeBogie

Hey Y'all!

Would love to see some sort of --ignore option built in!

Example: Use an input file of resources that leftovers would ignore when running...

leftovers --no-confirm --ignore ~/ignored_resources.txt

cat ignored_resources.txt

"IAM Service Account: projects/PROJECT/serviceAccounts/[email protected]"
"IAM Service Account: projects/PROJECT/serviceAccounts/[email protected]"

Now I can keep some resources around on each of the cloud providers that I don't want deleted but totally nuke the rest of the environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions