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_db_readonly_instance" {
source="./modules/alicloud/r/alicloud_db_readonly_instance"# engine_version - (required) is a type of stringengine_version=null# instance_name - (optional) is a type of stringinstance_name=null# instance_storage - (required) is a type of numberinstance_storage=null# instance_type - (required) is a type of stringinstance_type=null# master_db_instance_id - (required) is a type of stringmaster_db_instance_id=null# resource_group_id - (optional) is a type of stringresource_group_id=null# tags - (optional) is a type of map of stringtags={}
# vswitch_id - (optional) is a type of stringvswitch_id=null# zone_id - (optional) is a type of stringzone_id=nullparameters=[{
name =null
value =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"alicloud_db_readonly_instance""this" {
# engine_version - (required) is a type of stringengine_version=var.engine_version# instance_name - (optional) is a type of stringinstance_name=var.instance_name# instance_storage - (required) is a type of numberinstance_storage=var.instance_storage# instance_type - (required) is a type of stringinstance_type=var.instance_type# master_db_instance_id - (required) is a type of stringmaster_db_instance_id=var.master_db_instance_id# resource_group_id - (optional) is a type of stringresource_group_id=var.resource_group_id# tags - (optional) is a type of map of stringtags=var.tags# vswitch_id - (optional) is a type of stringvswitch_id=var.vswitch_id# zone_id - (optional) is a type of stringzone_id=var.zone_iddynamic"parameters" {
for_each=var.parameterscontent {
# name - (required) is a type of stringname=parameters.value["name"]
# value - (required) is a type of stringvalue=parameters.value["value"]
}
}
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"]
}
}
}