Skip to content

Commit

Permalink
remove list()
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 9, 2022
1 parent bcc4d87 commit bb40e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowlogs-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data "aws_iam_policy_document" "flowlogs_assume" {
actions = ["sts:AssumeRole"]
principals {
type = "Service"
identifiers = concat(list("vpc-flow-logs.amazonaws.com"), formatlist("logs.%v.amazonaws.com", local.flowlogs_regions))
identifiers = concat(["vpc-flow-logs.amazonaws.com"], formatlist("logs.%v.amazonaws.com", local.flowlogs_regions))
}
}
}

0 comments on commit bb40e9a

Please sign in to comment.