From 880b08cb6a6158b34e488645cbf2781cbb9863a4 Mon Sep 17 00:00:00 2001 From: Pascal Bourdier Date: Wed, 25 Aug 2021 18:19:10 +0200 Subject: [PATCH] docs: Updated autoscaling.md (#1515) --- docs/autoscaling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/autoscaling.md b/docs/autoscaling.md index c5ba615..3c1aa5e 100644 --- a/docs/autoscaling.md +++ b/docs/autoscaling.md @@ -13,7 +13,7 @@ If you don't want to use IRSA then you will need to attach the IAM policy to the ```hcl resource "aws_iam_role_policy_attachment" "workers_autoscaling" { policy_arn = aws_iam_policy.worker_autoscaling.arn - role = module.my_cluster.worker_iam_role_name[0] + role = module.my_cluster.worker_iam_role_name } resource "aws_iam_policy" "worker_autoscaling" {