You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…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
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have issues
we are trying to create a policy for a specified path
resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
count = var.manage_cluster_iam_resources && var.create_eks ? 1 : 0
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
}
I'm submitting a...
What is the current behavior?
Failing on creation of policy due to IAM Path restriction
If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
Policy Not created
Are you able to fix this problem and submit a PR? Link here if you have already.
addded iam_path variable
resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
count = var.manage_cluster_iam_resources && var.create_eks ? 1 : 0
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
}
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: