-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat: Add support for deletion protection #3475
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
feat: Add support for deletion protection #3475
Conversation
|
@tiagovmvieira provider support should land tomorrow with version |
@bryantbiggs I have bumped the provider version in both the root Please do let me know, if there's anything missing Thanks :) |
## [21.1.0](v21.0.9...v21.1.0) (2025-08-15) ### Features * Add support for deletion protection functionality in the cluster ([#3475](#3475)) ([83c9cd1](83c9cd1))
This PR is included in version 21.1.0 🎉 |
Thanks for your help @bryantbiggs @antonbabenko 👍🏼 Happy to contribute ;) |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
This PR adds support for EKS cluster deletion protection configuration through a new
enable_deletion_protection
variable. This feature allows users to enable AWS's built-in deletion protection safeguard for EKS clusters, helping prevent accidental or unauthorized deletion of critical infrastructure.hashicorp/terraform-provider-aws#43779
Motivation and Context
EKS cluster deletion protection is already a supported feature in AWS, providing a valuable security safeguard that helps prevent accidental deletion of critical Kubernetes infrastructure. This enhancement addresses user requests for better operational safety and aligns with AWS security best practices.
Dependency: This PR requires the AWS Terraform provider to support managing EKS deletion protection through Terraform. While AWS already supports this functionality natively, the Terraform provider implementation is pending in the following PR. This module enhancement will be ready to use once that provider update is released.
Breaking Changes
None. This is a backward-compatible addition. The new enable_deletion_protection variable defaults to false, preserving existing behavior for current module users.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request