Skip to content

Commit 681fd63

Browse files
authored
Merge pull request #56 from maddevsio/fix/aws-iam-s3
#45 rename aws_iam_policy_document for aws_iam_user
2 parents b474a9d + fc9bd0f commit 681fd63

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)