oci_devops_project

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

Creates a new project.

Example Usage

resource "oci_devops_project" "test_project" {
	#Required
	compartment_id = var.compartment_id
	name = var.project_name
	notification_config {
		#Required
		topic_id = oci_ons_notification_topic.test_notification_topic.id
	}

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.project_description
	freeform_tags = {"bar-key"= "value"}
}

Argument Reference

The following arguments are supported:

** 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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Project * update - (Defaults to 20 minutes), when updating the Project * delete - (Defaults to 20 minutes), when destroying the Project

Import

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

$ terraform import oci_devops_project.test_project "id"