oci_identity_domains_security_question

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

Create a security question.

Example Usage

resource "oci_identity_domains_security_question" "test_security_question" {
    #Required
    active = var.security_question_active
    idcs_endpoint = data.oci_identity_domain.test_domain.url
    /* One and only one "question_text" needs to have "default" set to true */
    question_text {
        #Required
        locale = "en"
        value = var.security_question_question_text_value

        #Optional
        default = "true"
    }
    schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:SecurityQuestion"]
    type = "custom"

    #Optional
    attribute_sets = ["all"]
    attributes = ""
    authorization = var.security_question_authorization
    external_id = "externalId"
    id = var.security_question_id
    ocid = var.security_question_ocid
    resource_type_schema_version = var.security_question_resource_type_schema_version
    tags {
        #Required
        key = var.security_question_tags_key
        value = var.security_question_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 * update - (Defaults to 20 minutes), when updating the Security Question * delete - (Defaults to 20 minutes), when destroying the Security Question

Import

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

$ terraform import oci_identity_domains_security_question.test_security_question "idcsEndpoint/{idcsEndpoint}/securityQuestions/{securityQuestionId}"