Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eks): deprecate "kubectlEnabled: false" (#9454)
When specifying `kubectlEnabled: false`, it _implicitly_ meant that the underlying resource behind the construct would be the stock `AWS::EKS::Cluster` resource instead of the custom resource used by default. This means that many new capabilities of EKS would not be supported (e.g. Fargate profiles). Clusters backed by the custom-resource have all the capabilities (and more) of clusters backed by `AWS::EKS::Cluster`. Therefore, we decided that going forward we are going to support only the custom-resource backed solution. To that end, after this change, defining an `eks.Cluster` with `kubectlEnabled: false` will throw an error with the following message: The "eks.Cluster" class no longer allows disabling kubectl support. As a temporary workaround, you can use the drop-in replacement class `eks.LegacyCluster` but bear in mind that this class will soon be removed and will no longer receive additional features or bugfixes. See #9332 for more details Resolves #9332 BREAKING CHANGE: The experimental `eks.Cluster` construct no longer supports setting `kubectlEnabled: false`. A temporary drop-in alternative is `eks.LegacyCluster`, but we have plans to completely remove support for it in an upcoming release since `eks.Cluster` has matured and should provide all the needed capabilities. Please comment on #9332 if there are use cases that are not supported by `eks.Cluster`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information