From 5d3ad78e4adb7103c1f4c27e753ad446480a8a6f Mon Sep 17 00:00:00 2001 From: Yoni Leitersdorf Date: Tue, 10 Aug 2021 03:13:05 -0700 Subject: [PATCH] fix: Fixed SID for assume role policy for flow logs (#670) --- vpc-flow-logs.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vpc-flow-logs.tf b/vpc-flow-logs.tf index c478748b4..c765be0fc 100644 --- a/vpc-flow-logs.tf +++ b/vpc-flow-logs.tf @@ -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"]