Skip to content

Commit 9087737

Browse files
Auto update
1 parent 1c8ee49 commit 9087737

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
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 node\_network\_profile for default node pool [\#598](https://github.com/Azure/terraform-azurerm-aks/pull/598) ([zioproto](https://github.com/zioproto))
78
- Bump examples to AKS 1.30 [\#595](https://github.com/Azure/terraform-azurerm-aks/pull/595) ([zioproto](https://github.com/zioproto))
89

910
## [9.2.0](https://github.com/Azure/terraform-azurerm-aks/tree/9.2.0) (2024-11-07)

main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,13 @@ resource "azurerm_kubernetes_cluster" "main" {
143143
}
144144
}
145145
}
146-
147146
dynamic "node_network_profile" {
148147
for_each = var.node_network_profile == null ? [] : ["node_network_profile"]
149148

150149
content {
151150
node_public_ip_tags = each.value.node_public_ip_tags
152151
}
153152
}
154-
155153
dynamic "upgrade_settings" {
156154
for_each = var.agents_pool_max_surge == null ? [] : ["upgrade_settings"]
157155

variables.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,14 @@ variable "network_policy" {
953953
description = " (Optional) Sets up network policy to be used with Azure CNI. Network policy allows us to control the traffic flow between pods. Currently supported values are calico and azure. Changing this forces a new resource to be created."
954954
}
955955

956+
variable "node_network_profile" {
957+
type = object({
958+
node_public_ip_tags = optional(map(string))
959+
})
960+
default = null
961+
description = "(Optional) Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created."
962+
}
963+
956964
variable "node_os_channel_upgrade" {
957965
type = string
958966
default = null
@@ -1165,14 +1173,6 @@ variable "node_pools" {
11651173
nullable = false
11661174
}
11671175

1168-
variable "node_network_profile" {
1169-
type = object({
1170-
node_public_ip_tags = optional(map(string))
1171-
})
1172-
default = null
1173-
description = "(Optional) Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created."
1174-
}
1175-
11761176
variable "node_resource_group" {
11771177
type = string
11781178
default = null

0 commit comments

Comments
 (0)