Skip to content

Commit 9c19ebe

Browse files
committed
NRL-1188 Pass s3 bucket arn as var
1 parent d8de638 commit 9c19ebe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

terraform/infrastructure/firehose.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ module "firehose__processor" {
88
splunk_environment = local.splunk_environment
99
splunk_index = local.splunk_index
1010
destination = "splunk"
11-
reporting_bucket_arn = data.aws_s3_bucket.source-data-bucket.arn
11+
reporting_bucket_arn = data.aws_s3_bucket.source-data-bucket.arn[count.index]
1212
}

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 = var.reporting_bucket_arn[count.index]
66+
bucket_arn = var.reporting_bucket_arn
6767

6868
processing_configuration {
6969
enabled = "true"

0 commit comments

Comments
 (0)