Skip to content

Commit fc9bd0f

Browse files
committed
#45 rename aws_iam_policy_document for aws_iam_user
1 parent b474a9d commit fc9bd0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/modules/aws-iam-s3/iam-user.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ resource "aws_iam_user_policy" "this" {
1717
name = "${var.name}-user"
1818
user = aws_iam_user.this_user.0.name
1919

20-
policy = data.aws_iam_policy_document.policy.json
20+
policy = data.aws_iam_policy_document.user_policy.json
2121
}
2222

23-
data "aws_iam_policy_document" "policy" {
23+
data "aws_iam_policy_document" "user_policy" {
2424

2525
statement {
2626
actions = [

0 commit comments

Comments
 (0)