We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa75c0 commit 1ac67b8Copy full SHA for 1ac67b8
main.tf
@@ -75,9 +75,12 @@ resource "aws_eks_cluster" "this" {
75
for_each = local.create_outposts_local_cluster ? [] : [1]
76
77
content {
78
- elastic_load_balancing {
+ dynamic "elastic_load_balancing" {
79
+ for_each = local.auto_mode_enabled ? [1] : []
80
- enabled = local.auto_mode_enabled
81
+ content {
82
+ enabled = local.auto_mode_enabled
83
+ }
84
}
85
86
ip_family = var.cluster_ip_family
@@ -130,9 +133,13 @@ resource "aws_eks_cluster" "this" {
130
133
131
134
132
135
- storage_config {
- block_storage {
136
+ dynamic "storage_config" {
137
138
+
139
140
+ block_storage {
141
142
143
144
145
0 commit comments