We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b474a9d commit fc9bd0fCopy full SHA for fc9bd0f
terraform/modules/aws-iam-s3/iam-user.tf
@@ -17,10 +17,10 @@ resource "aws_iam_user_policy" "this" {
17
name = "${var.name}-user"
18
user = aws_iam_user.this_user.0.name
19
20
- policy = data.aws_iam_policy_document.policy.json
+ policy = data.aws_iam_policy_document.user_policy.json
21
}
22
23
-data "aws_iam_policy_document" "policy" {
+data "aws_iam_policy_document" "user_policy" {
24
25
statement {
26
actions = [
0 commit comments