oci_identity_domains_condition

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

Create a Condition

Example Usage

resource "oci_identity_domains_condition" "test_condition" {
	#Required
	attribute_name = var.condition_attribute_name
	attribute_value = var.condition_attribute_value
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	name = var.condition_name
	operator = var.condition_operator
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:Condition"]

	#Optional
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.condition_authorization
	description = var.condition_description
	evaluate_condition_if = var.condition_evaluate_condition_if
	external_id = "externalId"
	ocid = var.condition_ocid
	resource_type_schema_version = var.condition_resource_type_schema_version
	tags {
		#Required
		key = var.condition_tags_key
		value = var.condition_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 Condition * update - (Defaults to 20 minutes), when updating the Condition * delete - (Defaults to 20 minutes), when destroying the Condition

Import

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

$ terraform import oci_identity_domains_condition.test_condition "idcsEndpoint/{idcsEndpoint}/conditions/{conditionId}"