Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 26, 2022
1 parent 4591656 commit 471a41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data "aws_iam_policy_document" "lambda_policy" {
"dynamodb:Scan",
"dynamodb:UpdateItem",
]
resources = [aws_dynamodb_table.table.arn]
resources = [var.count ? aws_dynamodb_table.table[0].arn : null]
}
}

Expand Down

0 comments on commit 471a41b

Please sign in to comment.