oci_identity_domains_self_registration_profile

This resource provides the Self Registration Profile resource in Oracle Cloud Infrastructure Identity Domains service.

Create a self-registration profile.

Example Usage

resource "oci_identity_domains_self_registration_profile" "test_self_registration_profile" {
    #Required
    activation_email_required = var.self_registration_profile_activation_email_required
    consent_text_present = var.self_registration_profile_consent_text_present
    display_name {
        #Required
        locale = var.self_registration_profile_display_name_locale
        value = var.self_registration_profile_display_name_value

        #Optional
        default = var.self_registration_profile_display_name_default
    }
    email_template {
        #Required
        value = var.self_registration_profile_email_template_value
    }
    idcs_endpoint = data.oci_identity_domain.test_domain.url
    name = var.self_registration_profile_name
    number_of_days_redirect_url_is_valid = var.self_registration_profile_number_of_days_redirect_url_is_valid
    redirect_url = var.self_registration_profile_redirect_url
    schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:SelfRegistrationProfile"]
    show_on_login_page = var.self_registration_profile_show_on_login_page

    #Optional
    active = var.self_registration_profile_active
    after_submit_text {
        #Required
        locale = var.self_registration_profile_after_submit_text_locale
        value = var.self_registration_profile_after_submit_text_value

        #Optional
        default = var.self_registration_profile_after_submit_text_default
    }
    allowed_email_domains = var.self_registration_profile_allowed_email_domains
    attribute_sets = ["all"]
    attributes = ""
    authorization = var.self_registration_profile_authorization
    consent_text {
        #Required
        locale = var.self_registration_profile_consent_text_locale
        value = var.self_registration_profile_consent_text_value

        #Optional
        default = var.self_registration_profile_consent_text_default
    }
    default_groups {
        #Required
        value = var.self_registration_profile_default_groups_value
    }
    disallowed_email_domains = var.self_registration_profile_disallowed_email_domains
    external_id = "externalId"
    footer_logo = var.self_registration_profile_footer_logo
    footer_text {
        #Required
        locale = var.self_registration_profile_footer_text_locale
        value = var.self_registration_profile_footer_text_value

        #Optional
        default = var.self_registration_profile_footer_text_default
    }
    header_logo = var.self_registration_profile_header_logo
    header_text {
        #Required
        locale = var.self_registration_profile_header_text_locale
        value = var.self_registration_profile_header_text_value

        #Optional
        default = var.self_registration_profile_header_text_default
    }
    id = var.self_registration_profile_id
    ocid = var.self_registration_profile_ocid
    resource_type_schema_version = var.self_registration_profile_resource_type_schema_version
    tags {
        #Required
        key = var.self_registration_profile_tags_key
        value = var.self_registration_profile_tags_value
    }
    user_attributes {
        #Required
        seq_number = var.self_registration_profile_user_attributes_seq_number
        value = var.self_registration_profile_user_attributes_value

        #Optional
        fully_qualified_attribute_name = var.self_registration_profile_user_attributes_fully_qualified_attribute_name
    }
}

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 Self Registration Profile * update - (Defaults to 20 minutes), when updating the Self Registration Profile * delete - (Defaults to 20 minutes), when destroying the Self Registration Profile

Import

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

$ terraform import oci_identity_domains_self_registration_profile.test_self_registration_profile "idcsEndpoint/{idcsEndpoint}/selfRegistrationProfiles/{selfRegistrationProfileId}"