Skip to content

Commit 9f4f5d1

Browse files
committed
NRL-1187 pull correct kms key
1 parent ba9367e commit 9f4f5d1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

terraform/infrastructure/modules/firehose/iam_firehose.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

terraform/infrastructure/modules/firehose/locals.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 = {

0 commit comments

Comments
 (0)