Skip to content

Commit 6d3fc80

Browse files
committed
NRL-1187 update reporting infra toggle
1 parent f304502 commit 6d3fc80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

terraform/infrastructure/data.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ data "external" "current-info" {
4343
}
4444

4545
data "aws_s3_bucket" "source-data-bucket" {
46-
count = local.is_dev_env ? 1 : 0
46+
count = local.is_dev_env && !local.is_sandbox_env ? 1 : 0
4747
bucket = "${local.shared_prefix}-source-data-bucket"
4848
}
4949

5050
data "aws_kms_key" "glue" {
51-
count = local.is_dev_env ? 1 : 0
51+
count = local.is_dev_env && !local.is_sandbox_env ? 1 : 0
5252
key_id = "alias/${local.shared_prefix}-glue"
5353
}

terraform/infrastructure/firehose.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ module "firehose__processor" {
1010
destination = "splunk"
1111
reporting_bucket_arn = local.reporting_bucket_arn
1212
reporting_kms_arn = local.reporting_kms_arn
13-
reporting_infra_toggle = local.is_dev_env
13+
reporting_infra_toggle = local.is_dev_env && !local.is_sandbox_env
1414
}

0 commit comments

Comments
 (0)