You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: variables.tf
+8
Original file line number
Diff line number
Diff line change
@@ -845,6 +845,7 @@ variable "node_pools" {
845
845
proximity_placement_group_id =optional(string)
846
846
spot_max_price =optional(number)
847
847
scale_down_mode =optional(string, "Delete")
848
+
snapshot_id =optional(string)
848
849
ultra_ssd_enabled =optional(bool)
849
850
vnet_subnet_id =optional(string)
850
851
upgrade_settings =optional(object({
@@ -942,6 +943,7 @@ variable "node_pools" {
942
943
proximity_placement_group_id = (Optional) The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created. When setting `priority` to Spot - you must configure an `eviction_policy`, `spot_max_price` and add the applicable `node_labels` and `node_taints` [as per the Azure Documentation](https://docs.microsoft.com/azure/aks/spot-node-pool).
943
944
spot_max_price = (Optional) The maximum price you're willing to pay in USD per Virtual Machine. Valid values are `-1` (the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created. This field can only be configured when `priority` is set to `Spot`.
944
945
scale_down_mode = (Optional) Specifies how the node pool should deal with scaled-down nodes. Allowed values are `Delete` and `Deallocate`. Defaults to `Delete`.
946
+
snapshot_id = (Optional) The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
945
947
ultra_ssd_enabled = (Optional) Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to `false`. See [the documentation](https://docs.microsoft.com/azure/aks/use-ultra-disks) for more information. Changing this forces a new resource to be created.
946
948
vnet_subnet_id = (Optional) The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created. A route table must be configured on this Subnet.
947
949
upgrade_settings = optional(object({
@@ -1138,6 +1140,12 @@ variable "sku_tier" {
1138
1140
}
1139
1141
}
1140
1142
1143
+
variable"snapshot_id" {
1144
+
type=string
1145
+
default=null
1146
+
description="(Optional) The ID of the Snapshot which should be used to create this default Node Pool. `temporary_name_for_rotation` must be specified when changing this property."
0 commit comments