-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
Description
The cluster_addons
feature in the module provides a before_compute
attribute, which is described as a way to ensure that certain addons are created before compute resources (managed by module.eks_managed_node_group
/ module.self_managed_node_group
).
In practice, however, this attribute does not guarantee that addons are created before compute resources. Instead, it only ensures that compute resources are created before addons with before_compute = false
Line 801 in de2aa10
module.eks_managed_node_group, |
This behavior occurs because the modules responsible for creating compute resources currently do not have a depends_on
referencing the addons with before_compute = true
.
- β I have searched the open/closed issues and my issue is not listed.
Versions
- Module version:
21.3.1
Expected behavior
Addons with before_compute = true
should be applied before any compute resources.
The modules module.eks_managed_node_group
and module.self_managed_node_group
should include a depends_on
on the aws_eks_addon.before_compute
resources.