Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect OS Domain and S3 Bucket from deletion #59

Open
chelma opened this issue Jun 2, 2023 · 0 comments
Open

Protect OS Domain and S3 Bucket from deletion #59

chelma opened this issue Jun 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chelma
Copy link
Collaborator

chelma commented Jun 2, 2023

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
@chelma chelma added the enhancement New feature or request label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant