Skip to content

Commit 75b1b45

Browse files
committed
fix(modules/iam-role): missing json encoding step for assume role policy
1 parent 822c1cc commit 75b1b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/iam-role/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "aws_iam_role" "this" {
22
name = var.name
33
description = var.description
4-
assume_role_policy = var.assume_role_policy
4+
assume_role_policy = jsonencode(var.assume_role_policy)
55

66
tags = var.tags
77
}

0 commit comments

Comments
 (0)