» oci_datascience_project

This resource provides the Project resource in Oracle Cloud Infrastructure Datascience service.

Creates a new project.

» Example Usage

resource "oci_datascience_project" "test_project" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    description = "${var.project_description}"
    display_name = "${var.project_display_name}"
    freeform_tags = {"Department"= "Finance"}
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) (Updatable) The OCID of the compartment to create the project in.
  • defined_tags - (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
  • description - (Optional) (Updatable) A short blurb describing the project.
  • display_name - (Optional) (Updatable) A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information.
  • freeform_tags - (Optional) (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

» Attributes Reference

The following attributes are exported:

  • compartment_id - The OCID of the project's compartment.
  • created_by - The OCID of the user who created this project.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
  • description - A short blurb describing the project.
  • display_name - A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information.
  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
  • id - The OCID of the project.
  • state - The state of the project.
  • time_created - The date and time the resource was created, in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

» Import

Projects can be imported using the id, e.g.

$ terraform import oci_datascience_project.test_project "id"