fix: Set IAM Path for cluster_elb_sl_role_creation IAM policy (#1045)

This commit is contained in:
senthil Vivekanandan
2020-10-12 07:51:28 -04:00
committed by GitHub
parent 094e363362
commit c54ce911dc

View File

@@ -163,6 +163,7 @@ resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
name_prefix = "${var.cluster_name}-elb-sl-role-creation"
description = "Permissions for EKS to create AWSServiceRoleForElasticLoadBalancing service-linked role"
policy = data.aws_iam_policy_document.cluster_elb_sl_role_creation[0].json
path = var.iam_path
}
resource "aws_iam_role_policy_attachment" "cluster_elb_sl_role_creation" {