diff --git a/README.md b/README.md index 789e84e..e20a565 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ module "cce2_cluster" { node_flavor = "s3.large.2" availability_zone = null initial_node_count = 1 - scall_enable = true + scale_enable = true min_node_count = 1 max_node_count = 3 scale_down_cooldown_time = null @@ -212,7 +212,7 @@ inputs = { node_flavor = "s3.large.2" availability_zone = null initial_node_count = 1 - scall_enable = true + scale_enable = true min_node_count = 1 max_node_count = 3 scale_down_cooldown_time = null @@ -279,7 +279,7 @@ inputs = { | key\_pair | Name of the SSH key pair | `string` | n/a | yes | | network\_id | ID of the Network | `string` | n/a | yes | | node\_os | Operating System of the CCE Worker Node | `string` | n/a | yes | -| node\_pool\_list | Nodes poool list of the CCE2 Cluster |
list(object({
node_pool_index = string
node_pool_name = string
node_flavor = string
availability_zone = string
initial_node_count = number
scall_enable = bool
min_node_count = number
max_node_count = number
scale_down_cooldown_time = number
priority = number
root_volume_size = number
root_volume_type = string
type = string
data_volume_size = number
data_volume_type = string
node_labels = map(string)
taints = list(object({
key = string
value = string
effect = string
}))
postinstall_script = string
preinstall_script = string
}))
| `[]` | no | +| node\_pool\_list | Nodes poool list of the CCE2 Cluster |
list(object({
node_pool_index = string
node_pool_name = string
node_flavor = string
availability_zone = string
initial_node_count = number
scale_enable = bool
min_node_count = number
max_node_count = number
scale_down_cooldown_time = number
priority = number
root_volume_size = number
root_volume_type = string
type = string
data_volume_size = number
data_volume_type = string
node_labels = map(string)
taints = list(object({
key = string
value = string
effect = string
}))
postinstall_script = string
preinstall_script = string
}))
| `[]` | no | | nodes\_list | Nodes list of the CCE2 Cluster |
list(object({
node_index = string
node_name = string
node_flavor = string
availability_zone = string
root_volume_size = number
root_volume_type = string
data_volume_size = number
data_volume_type = string
node_labels = map(string)
vm_tags = map(string)
taints = list(object({
key = string
value = string
effect = string
}))
postinstall_script = string
preinstall_script = string
}))
| `[]` | no | | vpc\_id | ID of the VPC | `string` | n/a | yes | diff --git a/main.tf b/main.tf index ae558c0..731c68f 100644 --- a/main.tf +++ b/main.tf @@ -75,7 +75,7 @@ resource "flexibleengine_cce_node_pool_v3" "cce_node_pool" { key_pair = var.key_pair initial_node_count = each.value.initial_node_count - scall_enable = each.value.scall_enable + scale_enable = each.value.scale_enable min_node_count = each.value.min_node_count max_node_count = each.value.max_node_count scale_down_cooldown_time = each.value.scale_down_cooldown_time diff --git a/variables.tf b/variables.tf index 5992947..9d5b307 100644 --- a/variables.tf +++ b/variables.tf @@ -109,7 +109,7 @@ variable "node_pool_list" { node_flavor = string availability_zone = string initial_node_count = number - scall_enable = bool + scale_enable = bool min_node_count = number max_node_count = number scale_down_cooldown_time = number @@ -128,4 +128,4 @@ variable "node_pool_list" { postinstall_script = string preinstall_script = string })) -} \ No newline at end of file +} diff --git a/versions.tf b/versions.tf index 6165e05..50a2874 100644 --- a/versions.tf +++ b/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { flexibleengine = { source = "FlexibleEngineCloud/flexibleengine" - version = ">= 1.17" + version = ">= 1.34" } } required_version = ">= 0.13"