Skip to content

Commit 043ccd3

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

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module "firehose__processor" {
2-
source = "./modules/firehose"
3-
assume_account = local.aws_account_id
4-
prefix = local.prefix
5-
region = local.region
6-
environment = local.environment
7-
cloudwatch_kms_arn = module.kms__cloudwatch.kms_arn
8-
splunk_environment = local.splunk_environment
9-
splunk_index = local.splunk_index
10-
destination = "splunk"
11-
reporting_bucket = data.aws_s3_bucket.source-data-bucket
2+
source = "./modules/firehose"
3+
assume_account = local.aws_account_id
4+
prefix = local.prefix
5+
region = local.region
6+
environment = local.environment
7+
cloudwatch_kms_arn = module.kms__cloudwatch.kms_arn
8+
splunk_environment = local.splunk_environment
9+
splunk_index = local.splunk_index
10+
destination = "splunk"
11+
reporting_bucket_arn = data.aws_s3_bucket.source-data-bucket.arn
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
66+
bucket_arn = var.reporting_bucket_arn
6767

6868
processing_configuration {
6969
enabled = "true"

terraform/infrastructure/modules/firehose/vars.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ variable "error_prefix" {
3535
default = "errors"
3636
}
3737

38-
variable "reporting_bucket" {
38+
variable "reporting_bucket_arn" {
3939
type = string
4040
}

0 commit comments

Comments
 (0)