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_function_async_invoke_config" {
source="./modules/alicloud/r/alicloud_fc_function_async_invoke_config"# function_name - (required) is a type of stringfunction_name=null# maximum_event_age_in_seconds - (optional) is a type of numbermaximum_event_age_in_seconds=null# maximum_retry_attempts - (optional) is a type of numbermaximum_retry_attempts=null# qualifier - (optional) is a type of stringqualifier=null# service_name - (required) is a type of stringservice_name=nulldestination_config=[{
on_failure = [{
destination =null
}]
on_success = [{
destination =null
}]
}]
}
resource"alicloud_fc_function_async_invoke_config""this" {
# function_name - (required) is a type of stringfunction_name=var.function_name# maximum_event_age_in_seconds - (optional) is a type of numbermaximum_event_age_in_seconds=var.maximum_event_age_in_seconds# maximum_retry_attempts - (optional) is a type of numbermaximum_retry_attempts=var.maximum_retry_attempts# qualifier - (optional) is a type of stringqualifier=var.qualifier# service_name - (required) is a type of stringservice_name=var.service_namedynamic"destination_config" {
for_each=var.destination_configcontent {
dynamic"on_failure" {
for_each=destination_config.value.on_failurecontent {
# destination - (required) is a type of stringdestination=on_failure.value["destination"]
}
}
dynamic"on_success" {
for_each=destination_config.value.on_successcontent {
# destination - (required) is a type of stringdestination=on_success.value["destination"]
}
}
}
}
}