From 855d75ca08c9ae5ed54aa84b0f3eb30a582f1e7a Mon Sep 17 00:00:00 2001 From: tylerthome Date: Tue, 15 Oct 2024 17:17:56 -0700 Subject: [PATCH] iam user attr ref fix --- terraform-incubator/home-unite-us/dev/iam.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-incubator/home-unite-us/dev/iam.tf b/terraform-incubator/home-unite-us/dev/iam.tf index 8333dbf..91ddd08 100644 --- a/terraform-incubator/home-unite-us/dev/iam.tf +++ b/terraform-incubator/home-unite-us/dev/iam.tf @@ -186,6 +186,6 @@ resource "aws_iam_access_key" "homeuniteus_app" { # Attaching a policy to the role resource "aws_iam_user_policy_attachment" "homeuniteus_app" { - user = aws_iam_user.homeuniteus_app.user_name + user = aws_iam_user.homeuniteus_app.name policy_arn = "arn:aws:iam::aws:policy/AmazonCognitoPowerUser" }