oci_identity_domains_approval_workflow_assignment

This resource provides the Approval Workflow Assignment resource in Oracle Cloud Infrastructure Identity Domains service.

Create Approval Workflow Assignment

Example Usage

resource "oci_identity_domains_approval_workflow_assignment" "test_approval_workflow_assignment" {
	#Required
	approval_workflow {
		#Required
		type = var.approval_workflow_assignment_approval_workflow_type
		value = var.approval_workflow_assignment_approval_workflow_value

		#Optional
		ocid = var.approval_workflow_assignment_approval_workflow_ocid
	}
	assigned_to {
		#Required
		type = var.approval_workflow_assignment_assigned_to_type
		value = var.approval_workflow_assignment_assigned_to_value

		#Optional
		ocid = var.approval_workflow_assignment_assigned_to_ocid
	}
	assignment_type = var.approval_workflow_assignment_assignment_type
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:ApprovalWorkflowAssignment"]

	#Optional
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.approval_workflow_assignment_authorization
	id = var.approval_workflow_assignment_id
	ocid = var.approval_workflow_assignment_ocid
	resource_type_schema_version = var.approval_workflow_assignment_resource_type_schema_version
	tags {
		#Required
		key = var.approval_workflow_assignment_tags_key
		value = var.approval_workflow_assignment_tags_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 Approval Workflow Assignment * update - (Defaults to 20 minutes), when updating the Approval Workflow Assignment * delete - (Defaults to 20 minutes), when destroying the Approval Workflow Assignment

Import

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

$ terraform import oci_identity_domains_approval_workflow_assignment.test_approval_workflow_assignment "idcsEndpoint/{idcsEndpoint}/approvalWorkflowAssignments/{approvalWorkflowAssignmentId}"