Skip to content

Commit c83ec52

Browse files
committed
NRL-1188 Pass s3 bucket arn as var
1 parent c994a99 commit c83ec52

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

terraform/infrastructure/data.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,5 @@ data "external" "current-info" {
4343
}
4444

4545
data "aws_s3_bucket" "source-data-bucket" {
46-
count = var.use_shared_resources ? 1 : 0
4746
bucket = "${local.shared_prefix}-source-data-bucket"
4847
}

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

6868
processing_configuration {
6969
enabled = "true"

0 commit comments

Comments
 (0)