Skip to content

Commit 8800bc8

Browse files
committed
Fix Formating
1 parent e7902a0 commit 8800bc8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • modules/network/gpu-rdma-vpc

modules/network/gpu-rdma-vpc/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ locals {
1919
network_name = var.network_name == null ? "${local.autoname}-net" : var.network_name
2020
subnet_prefix = try(var.subnetworks_template.name_prefix, null) == null ? "${local.autoname}-subnet" : var.subnetworks_template.name_prefix
2121
is_roce_metal = var.network_profile != null ? can(regex("vpc-roce-metal", var.network_profile)) : false
22-
23-
new_bits = local.is_roce_metal? 0 : ceil(log(var.subnetworks_template.count, 2))
22+
23+
new_bits = local.is_roce_metal ? 0 : ceil(log(var.subnetworks_template.count, 2))
2424
// RoCE metal profile doesn't allow creating a subnetwork, as the profile
2525
// automatically creates a predefined subnetwork for the MRDMA interfaces.
2626
// See: https://cloud.google.com/vpc/docs/network-profiles
27-
template_subnetworks = local.is_roce_metal? [] : [for i in range(var.subnetworks_template.count) :
27+
template_subnetworks = local.is_roce_metal ? [] : [for i in range(var.subnetworks_template.count) :
2828
{
2929
subnet_name = "${local.subnet_prefix}-${i}"
3030
subnet_region = try(var.subnetworks_template.region, var.region)

0 commit comments

Comments
 (0)