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"oci_datascience_model_deployment" {
source="./modules/oci/r/oci_datascience_model_deployment"# compartment_id - (required) is a type of stringcompartment_id=null# defined_tags - (optional) is a type of map of stringdefined_tags={}
# description - (optional) is a type of stringdescription=null# display_name - (optional) is a type of stringdisplay_name=null# freeform_tags - (optional) is a type of map of stringfreeform_tags={}
# project_id - (required) is a type of stringproject_id=nullcategory_log_details=[{
access = [{
log_group_id =null
log_id =null
}]
predict = [{
log_group_id =null
log_id =null
}]
}]
model_deployment_configuration_details=[{
deployment_type =null
model_configuration_details = [{
bandwidth_mbps =null
instance_configuration = [{
instance_shape_name =null
}]
model_id =null
scaling_policy = [{
instance_count =null
policy_type =null
}]
}]
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"oci_datascience_model_deployment""this" {
# compartment_id - (required) is a type of stringcompartment_id=var.compartment_id# defined_tags - (optional) is a type of map of stringdefined_tags=var.defined_tags# description - (optional) is a type of stringdescription=var.description# display_name - (optional) is a type of stringdisplay_name=var.display_name# freeform_tags - (optional) is a type of map of stringfreeform_tags=var.freeform_tags# project_id - (required) is a type of stringproject_id=var.project_iddynamic"category_log_details" {
for_each=var.category_log_detailscontent {
dynamic"access" {
for_each=category_log_details.value.accesscontent {
# log_group_id - (required) is a type of stringlog_group_id=access.value["log_group_id"]
# log_id - (required) is a type of stringlog_id=access.value["log_id"]
}
}
dynamic"predict" {
for_each=category_log_details.value.predictcontent {
# log_group_id - (required) is a type of stringlog_group_id=predict.value["log_group_id"]
# log_id - (required) is a type of stringlog_id=predict.value["log_id"]
}
}
}
}
dynamic"model_deployment_configuration_details" {
for_each=var.model_deployment_configuration_detailscontent {
# deployment_type - (required) is a type of stringdeployment_type=model_deployment_configuration_details.value["deployment_type"]
dynamic"model_configuration_details" {
for_each=model_deployment_configuration_details.value.model_configuration_detailscontent {
# bandwidth_mbps - (optional) is a type of numberbandwidth_mbps=model_configuration_details.value["bandwidth_mbps"]
# model_id - (required) is a type of stringmodel_id=model_configuration_details.value["model_id"]
dynamic"instance_configuration" {
for_each=model_configuration_details.value.instance_configurationcontent {
# instance_shape_name - (required) is a type of stringinstance_shape_name=instance_configuration.value["instance_shape_name"]
}
}
dynamic"scaling_policy" {
for_each=model_configuration_details.value.scaling_policycontent {
# instance_count - (required) is a type of numberinstance_count=scaling_policy.value["instance_count"]
# policy_type - (required) is a type of stringpolicy_type=scaling_policy.value["policy_type"]
}
}
}
}
}
}
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"]
}
}
}