Skip to content

Commit 03468d6

Browse files
committed
r/aws_eks_cluster: Mark Auto Mode attributes as Optional+Computed, removing defaults.
1 parent 2b266ba commit 03468d6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.changelog/44334.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
```release-note:bug
2-
resource/aws_eks_cluster: Allow EKS Auto Mode settings (`compute_config` / `kubernetes_network_config.elastic_load_balancing` / `storage_config.block_storage` ) to be enabled, disabled, and removed from the configuration
2+
resource/aws_eks_cluster: Change `compute_config`, `kubernetes_network_config.elastic_load_balancing`, and `storage_config.` to Optional and Computed, allowing EKS Auto Mode settings to be enabled, disabled, and removed from configuration
33
```

internal/service/eks/cluster.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func resourceCluster() *schema.Resource {
125125
names.AttrEnabled: {
126126
Type: schema.TypeBool,
127127
Optional: true,
128-
Default: false,
128+
Computed: true,
129129
},
130130
"node_pools": {
131131
Type: schema.TypeSet,
@@ -237,6 +237,7 @@ func resourceCluster() *schema.Resource {
237237
names.AttrEnabled: {
238238
Type: schema.TypeBool,
239239
Optional: true,
240+
Computed: true,
240241
},
241242
},
242243
},
@@ -391,7 +392,7 @@ func resourceCluster() *schema.Resource {
391392
names.AttrEnabled: {
392393
Type: schema.TypeBool,
393394
Optional: true,
394-
Default: false,
395+
Computed: true,
395396
},
396397
},
397398
},

0 commit comments

Comments
 (0)