Skip to content

Commit

Permalink
Add a dependencies on nodegroups for addons
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmrg committed Feb 29, 2024
1 parent 4aa59ce commit 4896370
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ resource "aws_eks_addon" "quortex_addon" {
resolve_conflicts_on_create = try(each.value.resolve_conflicts, "OVERWRITE")
service_account_role_arn = lookup(local.addon_irsa_service_account_arn, each.key, null)

depends_on = [
aws_eks_node_group.quortex,
aws_autoscaling_group.quortex_asg_advanced,
]

tags = var.tags
}

Expand Down

0 comments on commit 4896370

Please sign in to comment.