mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 00:23:46 +01:00
Adding aws_iam_service_linked_role to fix ELB creation error (#91)
* adding aws_iam_service_linked_role to fix ELB creation error * setting default to false * updating changelog * moving resource to cluster.tf file
This commit is contained in:
@@ -58,3 +58,8 @@ resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSServicePolicy" {
|
||||
policy_arn = "arn:aws:iam::aws:policy/AmazonEKSServicePolicy"
|
||||
role = "${aws_iam_role.cluster.name}"
|
||||
}
|
||||
|
||||
resource "aws_iam_service_linked_role" "elasticloadbalancing" {
|
||||
count = "${var.create_elb_service_linked_role}"
|
||||
aws_service_name = "elasticloadbalancing.amazonaws.com"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user