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_ess_scalinggroup_vserver_groups" {
source="./modules/alicloud/r/alicloud_ess_scalinggroup_vserver_groups"# force - (optional) is a type of boolforce=null# scaling_group_id - (required) is a type of stringscaling_group_id=nullvserver_groups=[{
loadbalancer_id =null
vserver_attributes = [{
port =null
vserver_group_id =null
weight =null
}]
}]
}
resource"alicloud_ess_scalinggroup_vserver_groups""this" {
# force - (optional) is a type of boolforce=var.force# scaling_group_id - (required) is a type of stringscaling_group_id=var.scaling_group_iddynamic"vserver_groups" {
for_each=var.vserver_groupscontent {
# loadbalancer_id - (required) is a type of stringloadbalancer_id=vserver_groups.value["loadbalancer_id"]
dynamic"vserver_attributes" {
for_each=vserver_groups.value.vserver_attributescontent {
# port - (required) is a type of numberport=vserver_attributes.value["port"]
# vserver_group_id - (required) is a type of stringvserver_group_id=vserver_attributes.value["vserver_group_id"]
# weight - (required) is a type of numberweight=vserver_attributes.value["weight"]
}
}
}
}
}