File tree 1 file changed +25
-0
lines changed
examples/cce/cce-with-partition
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -79,3 +79,28 @@ resource "huaweicloud_cce_node" "test" {
79
79
volumetype = " SSD"
80
80
}
81
81
}
82
+
83
+ resource "huaweicloud_cce_node_pool" "test" {
84
+ cluster_id = huaweicloud_cce_cluster. test . id
85
+ name = var. random_resource_name
86
+ flavor_id = try (data. huaweicloud_compute_flavors . test . flavors [0 ]. id , " " )
87
+ initial_node_count = 1
88
+ availability_zone = var. iec_availability_zone
89
+ password = " Overlord!!52259"
90
+ scall_enable = false
91
+ min_node_count = 0
92
+ max_node_count = 0
93
+ scale_down_cooldown_time = 0
94
+ priority = 0
95
+ type = " vm"
96
+ partition = huaweicloud_cce_partition. test . id
97
+
98
+ root_volume {
99
+ size = 40
100
+ volumetype = " SSD"
101
+ }
102
+ data_volumes {
103
+ size = 100
104
+ volumetype = " SSD"
105
+ }
106
+ }
You can’t perform that action at this time.
0 commit comments