Skip to content

Commit

Permalink
Merge pull request #40483 from u-kai/fix/eks-cluster-auto-mode-docs
Browse files Browse the repository at this point in the history
[Docs]: `aws_eks_cluster.bootstrap_self_managed_addons` must be set to `false` for EKS Auto Mode
  • Loading branch information
justinretzolk authored Dec 13, 2024
2 parents 536ae7f + db3a206 commit 62ea9b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/r/eks_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSClusterPolicy" {

### EKS Cluster with EKS Auto Mode

~> **NOTE:** When using EKS Auto Mode `compute_config.enabled`, `kubernetes_network_config.elastic_load_balancing.enabled`, and `storage_config.block_storage.enabled` must *ALL be set to `true`. Likewise for disabling EKS Auto Mode, all three arguments must be set to `false`.
~> **NOTE:** When using EKS Auto Mode `compute_config.enabled`, `kubernetes_network_config.elastic_load_balancing.enabled`, and `storage_config.block_storage.enabled` must *ALL be set to `true`. Likewise for disabling EKS Auto Mode, all three arguments must be set to `false`. Enabling EKS Auto Mode also requires that `bootstrap_self_managed_addons` is set to `false`.

```terraform
resource "aws_eks_cluster" "example" {
Expand All @@ -83,6 +83,8 @@ resource "aws_eks_cluster" "example" {
role_arn = aws_iam_role.cluster.arn
version = "1.31"
bootstrap_self_managed_addons = false
compute_config {
enabled = true
node_pools = ["general-purpose"]
Expand Down

0 comments on commit 62ea9b7

Please sign in to comment.