Skip to content

Commit

Permalink
fix(modules/iam-role): missing json encoding step for assume role policy
Browse files Browse the repository at this point in the history
  • Loading branch information
saumitra-dev committed Aug 19, 2024
1 parent 822c1cc commit 75b1b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/iam-role/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "aws_iam_role" "this" {
name = var.name
description = var.description
assume_role_policy = var.assume_role_policy
assume_role_policy = jsonencode(var.assume_role_policy)

tags = var.tags
}
Expand Down

0 comments on commit 75b1b45

Please sign in to comment.