Skip to content

Commit

Permalink
terraform-aws-modules#1044 - Path varaiable is not set for resource "…
Browse files Browse the repository at this point in the history
…aws_iam_policy" "cluster_elb_sl_role_creation"

Fix for terraform-aws-modules#1044 - Path variable is not set for resource "aws_iam_policy" "cluster_elb_sl_role_creation" 

Path variable added to Iam Policy
  • Loading branch information
senthilvv authored Oct 10, 2020
1 parent 094e363 commit e93e9ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit e93e9ae

Please sign in to comment.