diff --git a/main.tf b/main.tf index 463d3b6..4f3a36e 100644 --- a/main.tf +++ b/main.tf @@ -252,7 +252,7 @@ resource "aws_iam_role" "this" { tags = merge(var.tags, var.iam_role_tags) } -# Policies attached ref https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group +# Policies attached ref https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html resource "aws_iam_role_policy_attachment" "this" { for_each = local.create_iam_role ? toset(compact(distinct(concat([ "${local.policy_arn_prefix}/AmazonEKSClusterPolicy",