oci_identity_domains_approval_workflow

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

Create ApprovalWorkflow

Example Usage

resource "oci_identity_domains_approval_workflow" "test_approval_workflow" {
	#Required
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	max_duration {
		#Required
		unit = var.approval_workflow_max_duration_unit
		value = var.approval_workflow_max_duration_value
	}
	name = var.approval_workflow_name
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:ApprovalWorkflow"]

	#Optional
	approval_workflow_steps {
		#Required
		type = var.approval_workflow_approval_workflow_steps_type
		value = var.approval_workflow_approval_workflow_steps_value

		#Optional
		ocid = var.approval_workflow_approval_workflow_steps_ocid
	}
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.approval_workflow_authorization
	description = var.approval_workflow_description
	id = var.approval_workflow_id
	ocid = var.approval_workflow_ocid
	resource_type_schema_version = var.approval_workflow_resource_type_schema_version
	tags {
		#Required
		key = var.approval_workflow_tags_key
		value = var.approval_workflow_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 * update - (Defaults to 20 minutes), when updating the Approval Workflow * delete - (Defaults to 20 minutes), when destroying the Approval Workflow

Import

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

$ terraform import oci_identity_domains_approval_workflow.test_approval_workflow "idcsEndpoint/{idcsEndpoint}/approvalWorkflows/{approvalWorkflowId}"