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_fc_custom_domain" {
source="./modules/alicloud/r/alicloud_fc_custom_domain"# domain_name - (required) is a type of stringdomain_name=null# protocol - (required) is a type of stringprotocol=nullcert_config=[{
cert_name =null
certificate =null
private_key =null
}]
route_config=[{
function_name =null
methods = []
path =null
qualifier =null
service_name =null
}]
}
resource"alicloud_fc_custom_domain""this" {
# domain_name - (required) is a type of stringdomain_name=var.domain_name# protocol - (required) is a type of stringprotocol=var.protocoldynamic"cert_config" {
for_each=var.cert_configcontent {
# cert_name - (required) is a type of stringcert_name=cert_config.value["cert_name"]
# certificate - (required) is a type of stringcertificate=cert_config.value["certificate"]
# private_key - (required) is a type of stringprivate_key=cert_config.value["private_key"]
}
}
dynamic"route_config" {
for_each=var.route_configcontent {
# function_name - (required) is a type of stringfunction_name=route_config.value["function_name"]
# methods - (optional) is a type of list of stringmethods=route_config.value["methods"]
# path - (required) is a type of stringpath=route_config.value["path"]
# qualifier - (optional) is a type of stringqualifier=route_config.value["qualifier"]
# service_name - (required) is a type of stringservice_name=route_config.value["service_name"]
}
}
}