Skip to content

Avoid failure when trying to delete a bucket that doesn't exist #9386

@cagliostro92

Description

@cagliostro92

Describe the feature

Currently when launching: aws s3 rb s3://$BUCKET_NAME --force
I get an error if the bucket doesn't exist. I'd like to have more flexibility in this case because deleting a bucket or seeing that it doesn't exist lead to the same result (bucket absence).

Use Case

Throwing an error is something that can prevent a program or a pipeline from being correctly executed. A warning message could be more appropriate imho.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

na

Environment details (OS name and version, etc.)

na

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issues3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions