Skip to content

Commit

Permalink
fix: Add node group dependency for EKS addons resource creation (#1840)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Feb 7, 2022
1 parent ef22c79 commit 2515e0e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2515e0e

Please sign in to comment.