From 94f2f2ff207ddebe5f6e218f59b2f874da8b094d Mon Sep 17 00:00:00 2001 From: tasharnvb Date: Tue, 15 Oct 2019 16:19:56 +0100 Subject: [PATCH] Fix users type for IAM policy attachment --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 8e2483f..604d3c0 100644 --- a/main.tf +++ b/main.tf @@ -339,6 +339,6 @@ EOF resource aws_iam_policy_attachment "msk_iam_policy_attachment" { name = "${var.name}-policy-attachment" - users = aws_iam_user.msk_iam_user.name + users = [aws_iam_user.msk_iam_user.name] policy_arn = aws_iam_policy.msk_iam_policy.arn }