This resource allows you to manage MLflow experiments in Databricks.
data "databricks_current_user" "me" {}
resource "databricks_mlflow_experiment" "this" {
name = "${data.databricks_current_user.me.home}/Sample"
artifact_location = "dbfs:/tmp/my-experiment"
description = "My MLflow experiment description"
}
The following arguments are supported:
name
- (Required) Name of MLflow experiment. It must be an absolute path within the Databricks workspace, e.g. /Users/<some-username>/my-experiment
. For more information about changes to experiment naming conventions, see mlflow docs.artifact_location
- Path to dbfs:/ or s3:// artifact location of the MLflow experiment.description
- The description of the MLflow experiment.In addition to all arguments above, the following attributes are exported:
id
- ID of the MLflow experiment.The experiment resource can be imported using the id of the experiment
terraform import databricks_mlflow_experiment.this <experiment-id>
The following resources are often used in the same context: