Skip to content

Commit

Permalink
fix: Fixed SID for assume role policy for flow logs (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
yi2020 authored Aug 10, 2021
1 parent 88e1c6e commit 5d3ad78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vpc-flow-logs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ data "aws_iam_policy_document" "flow_log_cloudwatch_assume_role" {
count = local.create_flow_log_cloudwatch_iam_role ? 1 : 0

statement {
sid = "AWSVPCFlowLogsAssumeRole"

principals {
type = "Service"
identifiers = ["vpc-flow-logs.amazonaws.com"]
Expand Down

0 comments on commit 5d3ad78

Please sign in to comment.