Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
eytannnaim committed Oct 30, 2023
1 parent 7cbd304 commit 6f3c09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/poc/dsf_deployment/dra.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ locals {
dra_analytics_count = var.enable_dra ? var.dra_analytics_count : 0

dra_admin_address = var.enable_dra ? (module.dra_admin[0].public_ip != null ? module.dra_admin[0].public_ip : module.dra_admin[0].private_ip) : null
dra_admin_cidr_list = concat([data.aws_subnet.dra_admin.cidr_block], var.enable_dra ? [format("%s/32", local.dra_admin_address)] : [])
dra_admin_cidr_list = var.enable_dra ? concat([data.aws_subnet.dra_admin.cidr_block], var.enable_dra ? [format("%s/32", local.dra_admin_address)] : []) : []
}

module "dra_admin" {
Expand Down

0 comments on commit 6f3c09b

Please sign in to comment.