Skip to content

Commit b10038d

Browse files
committed
Terraform formatting updates
1 parent f272d52 commit b10038d

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ module "node_pools" {
193193

194194
for_each = var.node_pools
195195

196-
node_pool_name = each.key
197-
aks_cluster_id = module.aks.cluster_id
198-
vnet_subnet_id = module.vnet.subnets["aks"].id
199-
machine_type = each.value.machine_type
200-
fips_enabled = var.fips_enabled
201-
os_disk_size = each.value.os_disk_size
196+
node_pool_name = each.key
197+
aks_cluster_id = module.aks.cluster_id
198+
vnet_subnet_id = module.vnet.subnets["aks"].id
199+
machine_type = each.value.machine_type
200+
fips_enabled = var.fips_enabled
201+
os_disk_size = each.value.os_disk_size
202202
auto_scaling_enabled = each.value.min_nodes == each.value.max_nodes ? false : true
203203
node_count = each.value.min_nodes
204204
min_nodes = each.value.min_nodes == each.value.max_nodes ? null : each.value.min_nodes

modules/aks_node_pool/main.tf

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ resource "azurerm_kubernetes_cluster_node_pool" "autoscale_node_pool" {
1414
proximity_placement_group_id = var.proximity_placement_group_id == "" ? null : var.proximity_placement_group_id
1515
vm_size = var.machine_type
1616
os_disk_size_gb = var.os_disk_size
17-
os_type = var.os_type
18-
auto_scaling_enabled = var.auto_scaling_enabled
19-
node_public_ip_enabled = var.node_public_ip_enabled
20-
node_count = var.node_count
21-
max_count = var.max_nodes
22-
min_count = var.min_nodes
23-
max_pods = var.max_pods
24-
node_labels = var.node_labels
25-
node_taints = var.node_taints
26-
orchestrator_version = var.orchestrator_version
27-
tags = var.tags
17+
os_type = var.os_type
18+
auto_scaling_enabled = var.auto_scaling_enabled
19+
node_public_ip_enabled = var.node_public_ip_enabled
20+
node_count = var.node_count
21+
max_count = var.max_nodes
22+
min_count = var.min_nodes
23+
max_pods = var.max_pods
24+
node_labels = var.node_labels
25+
node_taints = var.node_taints
26+
orchestrator_version = var.orchestrator_version
27+
tags = var.tags
2828

2929
lifecycle {
3030
ignore_changes = [node_count]
@@ -42,14 +42,14 @@ resource "azurerm_kubernetes_cluster_node_pool" "static_node_pool" {
4242
proximity_placement_group_id = var.proximity_placement_group_id == "" ? null : var.proximity_placement_group_id
4343
vm_size = var.machine_type
4444
os_disk_size_gb = var.os_disk_size
45-
os_type = var.os_type
46-
auto_scaling_enabled = var.auto_scaling_enabled
47-
node_count = var.node_count
48-
max_count = var.max_nodes
49-
min_count = var.min_nodes
50-
max_pods = var.max_pods
51-
node_labels = var.node_labels
52-
node_taints = var.node_taints
53-
orchestrator_version = var.orchestrator_version
54-
tags = var.tags
45+
os_type = var.os_type
46+
auto_scaling_enabled = var.auto_scaling_enabled
47+
node_count = var.node_count
48+
max_count = var.max_nodes
49+
min_count = var.min_nodes
50+
max_pods = var.max_pods
51+
node_labels = var.node_labels
52+
node_taints = var.node_taints
53+
orchestrator_version = var.orchestrator_version
54+
tags = var.tags
5555
}

0 commit comments

Comments
 (0)