Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Protect OS Domain and S3 Bucket from deletion #59

@chelma

Description

@chelma

Description

Currently, it's possible to casually delete the the critical data within the S3 Bucket and OpenSearch Domain via the AWS Console or APIs. By updating their policies to protect them from deletion, we can make it less likely they will be deleted by accident. For reference, it's possible to delete these resources using the CLI's destroy-cluster command, but only if the --destroy-everything flag is also passed (otherwise they are left in the user's account while the other resources are torn down).

Acceptance Criteria

  • OpenSearch Domain and S3 Bucket protected from deletion via policy
  • destroy-cluster code updated to work with this new factor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions