File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
terraform/infrastructure/modules/firehose Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ data "aws_iam_policy_document" "firehose" {
3131 aws_s3_bucket . firehose . arn ,
3232 " ${ aws_s3_bucket . firehose . arn } /*" ,
3333 var . reporting_bucket_arn ,
34+ local . iam_firehose . reporting_s3_arn ,
3435 ])
3536 effect = " Allow"
3637 }
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ locals {
3434 iam_firehose = {
3535 cloudwatch_reporting_log_group_arn = var.reporting_infra_toggle ? aws_cloudwatch_log_group.firehose_reporting[0 ].arn : null
3636 cloudwatch_reporting_log_stream_arn = var.reporting_infra_toggle ? aws_cloudwatch_log_stream.firehose_reporting[0 ].arn : null
37+ reporting_s3_arn = var.reporting_infra_toggle ? " ${ var . reporting_bucket_arn } /*" : null
3738 }
3839
3940 iam_subscriptions = {
You can’t perform that action at this time.
0 commit comments