mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-14 06:15:24 +01:00
fix: Add node_group direct dependency on eks_cluster (#796)
Setting `manage_aws_auth = false` removes the ordering dependency between node_group and eks_cluster generating an error on first apply. This fixes that use case. Fixes #793
This commit is contained in:
@@ -4,7 +4,7 @@ data "null_data_source" "node_groups" {
|
||||
count = var.create_eks ? 1 : 0
|
||||
|
||||
inputs = {
|
||||
cluster_name = var.cluster_name
|
||||
cluster_name = aws_eks_cluster.this[0].name
|
||||
|
||||
# Ensure these resources are created before "unlocking" the data source.
|
||||
# `depends_on` causes a refresh on every run so is useless here.
|
||||
|
||||
Reference in New Issue
Block a user