Skip to content

Commit efd3371

Browse files
committed
[NRL-1511] Enable reporting in prod. Fix prod infra issues
1 parent e899a74 commit efd3371

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

terraform/account-wide-infrastructure/prod/data.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
data "aws_region" "current" {}
2+
13
data "aws_secretsmanager_secret_version" "identities_account_id" {
24
secret_id = aws_secretsmanager_secret.identities_account_id.name
35
}

terraform/account-wide-infrastructure/prod/ec2.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "powerbi_gw_instance" {
1414
source = "../modules/powerbi-gw-ec2"
1515
use_custom_ami = false
1616
instance_type = var.powerbi_gw_instance_type
17-
name_prefix = "nhsd-nrlf--test-powerbi-gw"
17+
name_prefix = "nhsd-nrlf--prod-powerbi-gw"
1818
target_bucket_arn = module.prod-glue.target_bucket_arn
1919
glue_kms_key_arn = module.prod-glue.aws_kms_key_arn
2020
athena_kms_key_arn = module.prod-athena[0].kms_key_arn

terraform/account-wide-infrastructure/prod/vars.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ variable "enable_dns_hostnames" {
2424
variable "enable_reporting" {
2525
type = bool
2626
description = "Enable account-wide reporting processes in the prod account"
27-
default = false
27+
default = true
2828
}
2929

3030
variable "vpc_cidr_block" {
@@ -66,5 +66,5 @@ variable "powerbi_gw_instance_type" {
6666
variable "use_powerbi_gw_custom_ami" {
6767
type = bool
6868
description = "Use custom image for PowerBI GW instance"
69-
default = true
69+
default = false
7070
}

0 commit comments

Comments
 (0)