diff --git a/terraform/environments/digital-prison-reporting/main.tf b/terraform/environments/digital-prison-reporting/main.tf index cb05dd3c76f..9d99f0e8c23 100644 --- a/terraform/environments/digital-prison-reporting/main.tf +++ b/terraform/environments/digital-prison-reporting/main.tf @@ -142,6 +142,27 @@ module "kinesis_stream_ingestor" { ) } +module "kinesis_stream_ingestor" { + source = "./modules/kinesis_stream" + create_kinesis_stream = local.create_kinesis + name = "empty-kinesis-stream" + shard_count = 1 # Not Valid when ON-DEMAND Mode + retention_period = local.kinesis_retention_hours + shard_level_metrics = ["IncomingBytes", "OutgoingBytes"] + enforce_consumer_deletion = false + encryption_type = "KMS" + kms_key_id = local.kinesis_kms_id + project_id = local.project + + tags = merge( + local.all_tags, + { + Name = local.kinesis_stream_ingestor + Resource_Type = "Kinesis Data Stream" + } + ) +} + module "kinesis_stream_reconciliation_firehose_s3" { source = "./modules/kinesis_firehose" name = "reconciliation-${module.kinesis_stream_ingestor.kinesis_stream_name}"