File tree Expand file tree Collapse file tree 5 files changed +3
-6
lines changed
terraform/account-wide-infrastructure Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ resource "aws_secretsmanager_secret" "devsandbox_environment_configuration" {
4343}
4444
4545resource "aws_secretsmanager_secret" "powerbi_gw_instance_admin_pwd" {
46- count = var. enable_reporting && var. enable_powerbi_auto_push ? 1 : 0
4746 name = " ${ local . project } --dev-powerbi-gw-instance-admin-pwd"
4847 description = " Admin password for the PowerBI Gateway EC2 instance"
4948}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module "vpc" {
1212module "powerbi_gw_instance" {
1313 count = var. enable_reporting && var. enable_powerbi_auto_push ? 1 : 0
1414 source = " ../modules/powerbi-gw-ec2"
15- use_custom_ami = false
15+ use_custom_ami = var . use_powerbi_gw_custom_ami
1616 instance_type = var. powerbi_gw_instance_type
1717 name_prefix = " nhsd-nrlf--prod-powerbi-gw"
1818 target_bucket_arn = module. prod-glue . target_bucket_arn
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ resource "aws_secretsmanager_secret" "prod_environment_configuration" {
2323}
2424
2525resource "aws_secretsmanager_secret" "powerbi_gw_instance_admin_pwd" {
26- count = var. enable_reporting && var. enable_powerbi_auto_push ? 1 : 0
2726 name = " ${ local . project } --prod-powerbi-gw-instance-admin-pwd"
2827 description = " Admin password for the PowerBI Gateway EC2 instance"
2928}
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ variable "instance_type" {
5454variable "enable_powerbi_auto_push" {
5555 type = bool
5656 description = " Enable automatic pushing of info into PowerBI"
57- default = false
57+ default = true
5858}
5959
6060variable "powerbi_gw_instance_type" {
@@ -66,5 +66,5 @@ variable "powerbi_gw_instance_type" {
6666variable "use_powerbi_gw_custom_ami" {
6767 type = bool
6868 description = " Use custom image for PowerBI GW instance"
69- default = false
69+ default = true
7070}
Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ resource "aws_secretsmanager_secret" "ref_environment_configuration" {
108108# PowerBI secrets
109109#
110110resource "aws_secretsmanager_secret" "powerbi_gw_instance_admin_pwd" {
111- count = var. enable_reporting && var. enable_powerbi_auto_push ? 1 : 0
112111 name = " ${ local . project } --test-powerbi-gw-instance-admin-pwd"
113112 description = " Admin password for the PowerBI Gateway EC2 instance"
114113}
You can’t perform that action at this time.
0 commit comments