Skip to content

Auto Mode custom tags policy is attached to cluster role when Auto Mode disabledΒ #3250

@kian

Description

@kian

Description

Auto Mode custom tags policy is attached to cluster role even when auto mode is disabled. I believe this is the result of #3242

The variable defaults to true which explains why these are created. Should there be an additional check for example that disables creation unless auto-mode itself is enabled?

https://github.com/terraform-aws-modules/terraform-aws-eks/pull/3242/files#diff-dc46acf24afd63ef8c556b77c126ccc6e578bc87e3aa09a931f33d9bf2532fbbR567

  • βœ‹ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version [Required]: 20.31.4
  • Terraform version: 1.9.8
  • Provider version(s): 5.81.0

Expected behavior

auto-mode custom tags are ignored when auto-mode is disabled

Actual behavior

custom IAM policy/attachment with enable_auto_mode_custom_tags permissions is created

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