Commit 5cbb34d
authored
fix(eks_standard): break terraform locals cycle in cluster addons (#348)
needs_cloudwatch_iam_policy was derived from enabled_cluster_addons,
which depends on default_addons, which references
aws_iam_role.cloudwatch_agent_irsa[0].arn. That role's count then
referenced needs_cloudwatch_iam_policy, closing the cycle.
Source needs_cloudwatch_iam_policy directly from container_insights_enabled
(spec input), which already gates inclusion of the cloudwatch addon.1 parent 3d5e040 commit 5cbb34d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments