File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,6 @@ module "node_pools" {
203
203
machine_type = each. value . machine_type
204
204
fips_enabled = var. fips_enabled
205
205
os_disk_size = each. value . os_disk_size
206
- os_disk_type = each. value . os_disk_type
207
- kubelet_disk_type = each. value . kubelet_disk_type
208
206
auto_scaling_enabled = each. value . min_nodes == each. value . max_nodes ? false : true
209
207
node_count = each. value . min_nodes
210
208
min_nodes = each. value . min_nodes == each. value . max_nodes ? null : each. value . min_nodes
@@ -221,6 +219,8 @@ module "node_pools" {
221
219
community_priority = each. value . community_priority
222
220
community_eviction_policy = each. value . community_eviction_policy
223
221
community_spot_max_price = each. value . community_spot_max_price
222
+ community_os_disk_type = each. value . community_os_disk_type
223
+ community_kubelet_disk_type = each. value . community_kubelet_disk_type
224
224
225
225
}
226
226
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ resource "azurerm_kubernetes_cluster_node_pool" "static_node_pool" {
53
53
proximity_placement_group_id = var. proximity_placement_group_id == " " ? null : var. proximity_placement_group_id
54
54
vm_size = var. machine_type
55
55
os_disk_size_gb = var. os_disk_size
56
- os_disk_type = var. os_disk_type
57
- kubelet_disk_type = var. kubelet_disk_type
58
56
os_type = var. os_type
59
57
auto_scaling_enabled = var. auto_scaling_enabled
60
58
node_count = var. node_count
@@ -68,6 +66,9 @@ resource "azurerm_kubernetes_cluster_node_pool" "static_node_pool" {
68
66
priority = var. community_priority
69
67
eviction_policy = var. community_eviction_policy
70
68
spot_max_price = var. community_spot_max_price
69
+ os_disk_type = var. community_os_disk_type
70
+ kubelet_disk_type = var. community_kubelet_disk_type
71
+
71
72
linux_os_config {
72
73
sysctl_config {
73
74
vm_max_map_count = try (var. linux_os_config . sysctl_config . vm_max_map_count ,null )
You can’t perform that action at this time.
0 commit comments