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
module"alicloud_cs_kubernetes_autoscaler" {
source="./modules/alicloud/r/alicloud_cs_kubernetes_autoscaler"# cluster_id - (required) is a type of stringcluster_id=null# cool_down_duration - (required) is a type of stringcool_down_duration=null# defer_scale_in_duration - (required) is a type of stringdefer_scale_in_duration=null# use_ecs_ram_role_token - (optional) is a type of booluse_ecs_ram_role_token=null# utilization - (required) is a type of stringutilization=nullnodepools=[{
id =null
labels =null
taints =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"alicloud_cs_kubernetes_autoscaler""this" {
# cluster_id - (required) is a type of stringcluster_id=var.cluster_id# cool_down_duration - (required) is a type of stringcool_down_duration=var.cool_down_duration# defer_scale_in_duration - (required) is a type of stringdefer_scale_in_duration=var.defer_scale_in_duration# use_ecs_ram_role_token - (optional) is a type of booluse_ecs_ram_role_token=var.use_ecs_ram_role_token# utilization - (required) is a type of stringutilization=var.utilizationdynamic"nodepools" {
for_each=var.nodepoolscontent {
# id - (optional) is a type of stringid=nodepools.value["id"]
# labels - (optional) is a type of stringlabels=nodepools.value["labels"]
# taints - (optional) is a type of stringtaints=nodepools.value["taints"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}