Skip to content

Commit b741f89

Browse files
Auto update
1 parent c86b2a1 commit b741f89

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Cannot set both `client_id` and `identity_ids` variables. [\#622](https://github.com/Azure/terraform-azurerm-aks/pull/622) ([zioproto](https://github.com/zioproto))
1414
- support the dns\_zone\_ids property in the web\_app\_routing block [\#606](https://github.com/Azure/terraform-azurerm-aks/pull/606) ([zioproto](https://github.com/zioproto))
1515
- resource\_group: remove data source + location required [\#603](https://github.com/Azure/terraform-azurerm-aks/pull/603) ([DeviaVir](https://github.com/DeviaVir))
16+
- Amend new attributes in network\_profile block [\#585](https://github.com/Azure/terraform-azurerm-aks/pull/585) ([lonegunmanb](https://github.com/lonegunmanb))
1617

1718

1819

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ resource "azurerm_kubernetes_cluster" "main" {
507507
}
508508
dynamic "nat_gateway_profile" {
509509
for_each = var.nat_gateway_profile == null ? [] : [var.nat_gateway_profile]
510+
510511
content {
511512
idle_timeout_in_minutes = nat_gateway_profile.value.idle_timeout_in_minutes
512513
managed_outbound_ip_count = nat_gateway_profile.value.managed_outbound_ip_count

variables.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -974,12 +974,24 @@ variable "net_profile_pod_cidr" {
974974
description = " (Optional) The CIDR to use for pod IP addresses. This field can only be set when network_plugin is set to kubenet or network_plugin is set to azure and network_plugin_mode is set to overlay. Changing this forces a new resource to be created."
975975
}
976976

977+
variable "net_profile_pod_cidrs" {
978+
type = list(string)
979+
default = null
980+
description = "(Optional) A list of CIDRs to use for pod IP addresses. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing this forces a new resource to be created."
981+
}
982+
977983
variable "net_profile_service_cidr" {
978984
type = string
979985
default = null
980986
description = "(Optional) The Network Range used by the Kubernetes service. Changing this forces a new resource to be created."
981987
}
982988

989+
variable "net_profile_service_cidrs" {
990+
type = list(string)
991+
default = null
992+
description = "(Optional) A list of CIDRs to use for Kubernetes services. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing this forces a new resource to be created."
993+
}
994+
983995
variable "network_contributor_role_assigned_subnet_ids" {
984996
type = map(string)
985997
default = {}
@@ -1018,24 +1030,12 @@ variable "network_plugin_mode" {
10181030
description = "(Optional) Specifies the network plugin mode used for building the Kubernetes network. Possible value is `overlay`. Changing this forces a new resource to be created."
10191031
}
10201032

1021-
variable "net_profile_pod_cidrs" {
1022-
type = list(string)
1023-
default = null
1024-
description = "(Optional) A list of CIDRs to use for pod IP addresses. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing this forces a new resource to be created."
1025-
}
1026-
10271033
variable "network_policy" {
10281034
type = string
10291035
default = null
10301036
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."
10311037
}
10321038

1033-
variable "net_profile_service_cidrs" {
1034-
type = list(string)
1035-
default = null
1036-
description = "(Optional) A list of CIDRs to use for Kubernetes services. For single-stack networking a single IPv4 CIDR is expected. For dual-stack networking an IPv4 and IPv6 CIDR are expected. Changing this forces a new resource to be created."
1037-
}
1038-
10391039
variable "node_network_profile" {
10401040
type = object({
10411041
node_public_ip_tags = optional(map(string))

0 commit comments

Comments
 (0)