Skip to content

Bug: Modules not rendering if a count is used #53

Open

Description

@masonbivens

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

eks-with-count

Module Without Count Usage

eks-without-count

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions