File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ locals {
42
42
# node_pool_max_nodes = 2
43
43
# node_k8s_version = var.k8s_version
44
44
# node_pool_shape = "BM.GPU.A10.4"
45
- # node_pool_shape_specifc_ad = 3 # Optional, if not provided or set = 0, will be randomly assigned
45
+ # node_pool_shape_specific_ad = 3 # Optional, if not provided or set = 0, will be randomly assigned
46
46
# node_pool_node_shape_config_ocpus = 1
47
47
# node_pool_node_shape_config_memory_in_gbs = 1
48
48
# node_pool_boot_volume_size_in_gbs = "100"
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ module "oke_node_pool" {
115
115
node_pool_max_nodes = each. value . node_pool_max_nodes
116
116
node_k8s_version = each. value . node_k8s_version
117
117
node_pool_shape = each. value . node_pool_shape
118
- node_pool_shape_specifc_ad = each. value . node_pool_shape_specifc_ad
118
+ node_pool_shape_specific_ad = each. value . node_pool_shape_specific_ad
119
119
node_pool_node_shape_config_ocpus = each. value . node_pool_node_shape_config_ocpus
120
120
node_pool_node_shape_config_memory_in_gbs = each. value . node_pool_node_shape_config_memory_in_gbs
121
121
existent_oke_nodepool_id_for_autoscaler = each. value . existent_oke_nodepool_id_for_autoscaler
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ data "oci_identity_availability_domains" "ADs" {
24
24
# Gets a specfic Availability Domain
25
25
data "oci_identity_availability_domain" "specfic" {
26
26
compartment_id = var. tenancy_ocid
27
- ad_number = var. node_pool_shape_specifc_ad
27
+ ad_number = var. node_pool_shape_specific_ad
28
28
29
- count = (var. node_pool_shape_specifc_ad > 0 ) ? 1 : 0
29
+ count = (var. node_pool_shape_specific_ad > 0 ) ? 1 : 0
30
30
}
Original file line number Diff line number Diff line change @@ -81,5 +81,5 @@ locals {
81
81
node_k8s_version = (var. node_k8s_version == " Latest" ) ? local. node_pool_k8s_latest_version : var. node_k8s_version
82
82
83
83
# Get ADs for the shape to be used on the node pool
84
- node_pool_ads = (var. node_pool_shape_specifc_ad > 0 ) ? data. oci_identity_availability_domain . specfic : data. oci_identity_availability_domains . ADs . availability_domains
84
+ node_pool_ads = (var. node_pool_shape_specific_ad > 0 ) ? data. oci_identity_availability_domain . specfic : data. oci_identity_availability_domains . ADs . availability_domains
85
85
}
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ variable "node_pool_node_shape_config_memory_in_gbs" {
50
50
default = " 16" # Only used if flex shape is selected
51
51
description = " You can customize the amount of memory allocated to a flexible shape"
52
52
}
53
- variable "node_pool_shape_specifc_ad " {
53
+ variable "node_pool_shape_specific_ad " {
54
54
description = " The number of the AD to get the shape for the node pool"
55
55
type = number
56
56
default = 0
57
57
58
58
validation {
59
- condition = var. node_pool_shape_specifc_ad >= 0 && var. node_pool_shape_specifc_ad <= 3
59
+ condition = var. node_pool_shape_specific_ad >= 0 && var. node_pool_shape_specific_ad <= 3
60
60
error_message = " Invalid AD number, should be 0 to get all ADs or 1, 2 or 3 to be a specific AD."
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments