We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f50fce commit c209337Copy full SHA for c209337
main.tf
@@ -62,7 +62,7 @@ resource "aws_eks_cluster" "this" {
62
63
content {
64
enabled = compute_config.value.enabled
65
- node_pools = compute_config.value.node_pools
+ node_pools = compute_config.value.enabled ? compute_config.value.node_pools : []
66
node_role_arn = compute_config.value.node_pools != null ? try(aws_iam_role.eks_auto[0].arn, compute_config.value.node_role_arn) : null
67
}
68
0 commit comments