mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-18 09:38:33 +01:00
fix: Add node group dependency for EKS addons resource creation (#1840)
This commit is contained in:
10
main.tf
10
main.tf
@@ -234,6 +234,16 @@ resource "aws_eks_addon" "this" {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Note: if an addon needs to be provisioned ahead of a node group users will
|
||||||
|
# need to create the addon outside of this module until a 2nd addon resource is added
|
||||||
|
# to the module (here) that is not dependent on node groups
|
||||||
|
# Or if addon management improves, this dependency can be removed https://github.com/aws/containers-roadmap/issues/1389
|
||||||
|
depends_on = [
|
||||||
|
module.fargate_profile,
|
||||||
|
module.eks_managed_node_group,
|
||||||
|
module.self_managed_node_group,
|
||||||
|
]
|
||||||
|
|
||||||
tags = var.tags
|
tags = var.tags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user