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_slb_master_slave_server_group" {
source="./modules/alicloud/r/alicloud_slb_master_slave_server_group"# delete_protection_validation - (optional) is a type of booldelete_protection_validation=null# load_balancer_id - (required) is a type of stringload_balancer_id=null# name - (required) is a type of stringname=nullservers=[{
is_backup =null
port =null
server_id =null
server_type =null
type =null
weight =null
}]
}
resource"alicloud_slb_master_slave_server_group""this" {
# delete_protection_validation - (optional) is a type of booldelete_protection_validation=var.delete_protection_validation# load_balancer_id - (required) is a type of stringload_balancer_id=var.load_balancer_id# name - (required) is a type of stringname=var.namedynamic"servers" {
for_each=var.serverscontent {
# is_backup - (optional) is a type of numberis_backup=servers.value["is_backup"]
# port - (required) is a type of numberport=servers.value["port"]
# server_id - (required) is a type of stringserver_id=servers.value["server_id"]
# server_type - (optional) is a type of stringserver_type=servers.value["server_type"]
# type - (optional) is a type of stringtype=servers.value["type"]
# weight - (optional) is a type of numberweight=servers.value["weight"]
}
}
}