It appears there is an issue with modules (and possibly other resources as well), not being recognized if a count conditional is used. I believe it may be related to the index not being parsed properly from the plan output.
The only difference between these two diagrams from a code perspective is commenting out count = var.enable_eks_cicd_workers ? 1 : 0 and the worker group is enabled in both scenarios.
Module With Count Usage

Module Without Count Usage

It appears there is an issue with modules (and possibly other resources as well), not being recognized if a count conditional is used. I believe it may be related to the index not being parsed properly from the plan output.
The only difference between these two diagrams from a code perspective is commenting out
count = var.enable_eks_cicd_workers ? 1 : 0and the worker group is enabled in both scenarios.Module With Count Usage
Module Without Count Usage