Skip to content

Commit fa711eb

Browse files
committed
NRL-1188 Pass s3 bucket arn as var
1 parent 7bb8242 commit fa711eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

terraform/infrastructure/firehose.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ module "firehose__processor" {
88
splunk_environment = local.splunk_environment
99
splunk_index = local.splunk_index
1010
destination = "splunk"
11+
reporting_bucket = data.aws_s3_bucket.source-data-bucket.arn
1112
}

terraform/infrastructure/modules/firehose/kinesis.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ resource "aws_kinesis_firehose_delivery_stream" "reporting_stream" {
6363

6464
extended_s3_configuration {
6565
role_arn = aws_iam_role.firehose.arn
66-
bucket_arn = data.aws_s3_bucket.source-data-bucket.arn
66+
bucket_arn = var.reporting_bucket
6767

6868
processing_configuration {
6969
enabled = "true"

0 commit comments

Comments
 (0)