Skip to content

Commit

Permalink
add missing array
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Jan 1, 2024
1 parent da3cd82 commit ebb6b39
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions terraform/modules/aws/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,16 @@ resource "aws_iam_role" "workload1_role" {
assume_role_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": {
"Sid" : "",
"Effect" : "Allow"
"Action" : "sts:AssumeRole",
"Principal" : {
"AWS" : "${aws_iam_role.keda_role.arn}"
"Statement": [
{
"Sid" : "",
"Effect" : "Allow"
"Action" : "sts:AssumeRole",
"Principal" : {
"AWS" : "${aws_iam_role.keda_role.arn}"
}
}
}
]
}
EOF
}
Expand Down

0 comments on commit ebb6b39

Please sign in to comment.