File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ data "aws_iam_policy_document" "waf_log_delivery" {
909909
910910 condition {
911911 test = " ArnLike"
912- values = [" arn:aws :logs:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . id } :*" ]
912+ values = [" arn:${ data . aws_partition . current . partition } :logs:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . id } :*" ]
913913 variable = " aws:SourceArn"
914914 }
915915 }
@@ -940,7 +940,7 @@ data "aws_iam_policy_document" "waf_log_delivery" {
940940
941941 condition {
942942 test = " ArnLike"
943- values = [" arn:aws :logs:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . id } :*" ]
943+ values = [" arn:${ data . aws_partition . current . partition } :logs:${ data . aws_region . current . region } :${ data . aws_caller_identity . current . id } :*" ]
944944 variable = " aws:SourceArn"
945945 }
946946 }
You can’t perform that action at this time.
0 commit comments