Skip to content

Commit 698d5e7

Browse files
Auto update
1 parent 028da0c commit 698d5e7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
**Merged pull requests:**
66

7+
- implement all node\_network\_profile features [\#648](https://github.com/Azure/terraform-azurerm-aks/pull/648) ([lonegunmanb](https://github.com/lonegunmanb))
78
- Bump github.com/Azure/terraform-module-test-helper in /test [\#647](https://github.com/Azure/terraform-azurerm-aks/pull/647) ([lonegunmanb](https://github.com/lonegunmanb))
89
- resource\_group: remove data source + location required [\#644](https://github.com/Azure/terraform-azurerm-aks/pull/644) ([lonegunmanb](https://github.com/lonegunmanb))
910
- "Improve automatic\_channel\_upgrade description for clarity and completeness" [\#641](https://github.com/Azure/terraform-azurerm-aks/pull/641) ([Vinaum8](https://github.com/Vinaum8))

extra_node_pool.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,15 @@ resource "azurerm_kubernetes_cluster_node_pool" "node_pool_create_before_destroy
113113
for_each = each.value.node_network_profile == null ? [] : ["node_network_profile"]
114114

115115
content {
116-
node_public_ip_tags = each.value.node_network_profile.node_public_ip_tags
117116
application_security_group_ids = each.value.node_network_profile.application_security_group_ids
117+
node_public_ip_tags = each.value.node_network_profile.node_public_ip_tags
118118

119119
dynamic "allowed_host_ports" {
120120
for_each = each.value.node_network_profile.allowed_host_ports == null ? [] : each.value.node_network_profile.allowed_host_ports
121121

122122
content {
123-
port_start = allowed_host_ports.value.port_start
124123
port_end = allowed_host_ports.value.port_end
124+
port_start = allowed_host_ports.value.port_start
125125
protocol = allowed_host_ports.value.protocol
126126
}
127127
}

main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,15 @@ resource "azurerm_kubernetes_cluster" "main" {
142142
for_each = var.node_network_profile == null ? [] : [var.node_network_profile]
143143

144144
content {
145-
node_public_ip_tags = node_network_profile.value.node_public_ip_tags
146145
application_security_group_ids = node_network_profile.value.application_security_group_ids
146+
node_public_ip_tags = node_network_profile.value.node_public_ip_tags
147147

148148
dynamic "allowed_host_ports" {
149149
for_each = node_network_profile.value.allowed_host_ports == null ? [] : node_network_profile.value.allowed_host_ports
150+
150151
content {
151-
port_start = allowed_host_ports.value.port_start
152152
port_end = allowed_host_ports.value.port_end
153+
port_start = allowed_host_ports.value.port_start
153154
protocol = allowed_host_ports.value.protocol
154155
}
155156
}

0 commit comments

Comments
 (0)