oci_identity_domains_security_question_setting

This resource provides the Security Question Setting resource in Oracle Cloud Infrastructure Identity Domains service.

Replace a security question setting.

Example Usage

resource "oci_identity_domains_security_question_setting" "test_security_question_setting" {
	#Required
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	max_field_length = var.security_question_setting_max_field_length
	min_answer_length = var.security_question_setting_min_answer_length
	num_questions_to_ans = var.security_question_setting_num_questions_to_ans
	num_questions_to_setup = var.security_question_setting_num_questions_to_setup
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:SecurityQuestionSettings"]
	security_question_setting_id = oci_identity_domains_security_question_setting.test_security_question_setting.id

	#Optional
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.security_question_setting_authorization
	external_id = "externalId"
	id = var.security_question_setting_id
	ocid = var.security_question_setting_ocid
	resource_type_schema_version = var.security_question_setting_resource_type_schema_version
	tags {
		#Required
		key = var.security_question_setting_tags_key
		value = var.security_question_setting_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 Security Question Setting * update - (Defaults to 20 minutes), when updating the Security Question Setting * delete - (Defaults to 20 minutes), when destroying the Security Question Setting

Import

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

$ terraform import oci_identity_domains_security_question_setting.test_security_question_setting "idcsEndpoint/{idcsEndpoint}/securityQuestionSettings/{securityQuestionSettingId}"