Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed Jan 31, 2025
1 parent 473932a commit 7745125
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/aws/node/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ module "node_props" {

locals {
hugepages_gb = try(
coalesce(var.hugepages_gb, try(module.node_props[0].hugepages_gb, null)),
coalesce(var.hugepages_gb, local.node_props_required ? module.node_props.hugepages_gb : null),
null,
)

xrd_vr_cpuset = (
var.isolated_cores != null ?
null :
try(
coalesce(var.xrd_vr_cpuset, try(module.node_props[0].cpuset, null)),
coalesce(var.xrd_vr_cpuset, local.node_props_required ? module.node_props.cpuset : null),
null,
)
)
Expand All @@ -72,7 +72,7 @@ locals {
var.isolated_cores != null ?
null :
try(
coalesce(var.xrd_vr_cp_num_cpus, try(module.node_props[0].cp_num_cpus, null)),
coalesce(var.xrd_vr_cp_num_cpus, local.node_props_required ? module.node_props.cp_num_cpus, null),
null,
)
)
Expand Down

0 comments on commit 7745125

Please sign in to comment.