oci_identity_domains_approval_workflow_step

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

Create ApprovalWorkflowStep

Example Usage

resource "oci_identity_domains_approval_workflow_step" "test_approval_workflow_step" {
	#Required
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	order = var.approval_workflow_step_order
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:ApprovalWorkflowStep"]
	type = var.approval_workflow_step_type

	#Optional
	approvers {
		#Required
		type = var.approval_workflow_step_approvers_type
		value = var.approval_workflow_step_approvers_value

		#Optional
		ocid = var.approval_workflow_step_approvers_ocid
	}
	approvers_expressions = var.approval_workflow_step_approvers_expressions
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.approval_workflow_step_authorization
	id = var.approval_workflow_step_id
	minimum_approvals = var.approval_workflow_step_minimum_approvals
	ocid = var.approval_workflow_step_ocid
	resource_type_schema_version = var.approval_workflow_step_resource_type_schema_version
	tags {
		#Required
		key = var.approval_workflow_step_tags_key
		value = var.approval_workflow_step_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 Step * update - (Defaults to 20 minutes), when updating the Approval Workflow Step * delete - (Defaults to 20 minutes), when destroying the Approval Workflow Step

Import

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

$ terraform import oci_identity_domains_approval_workflow_step.test_approval_workflow_step "idcsEndpoint/{idcsEndpoint}/approvalWorkflowSteps/{approvalWorkflowStepId}"