oci_identity_domains_account_recovery_setting

This resource provides the Account Recovery Setting resource in Oracle Cloud Infrastructure Identity Domains service.

Replace an account recovery setting.

Example Usage

resource "oci_identity_domains_account_recovery_setting" "test_account_recovery_setting" {
	#Required
	account_recovery_setting_id = oci_identity_domains_account_recovery_setting.test_account_recovery_setting.id
	factors = var.account_recovery_setting_factors
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	lockout_duration = var.account_recovery_setting_lockout_duration
	max_incorrect_attempts = var.account_recovery_setting_max_incorrect_attempts
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:AccountRecoverySettings"]

	#Optional
	attribute_sets = ["all"]
	attributes = ""
	authorization = var.account_recovery_setting_authorization
	external_id = "externalId"
	id = var.account_recovery_setting_id
	ocid = var.account_recovery_setting_ocid
	resource_type_schema_version = var.account_recovery_setting_resource_type_schema_version
	tags {
		#Required
		key = var.account_recovery_setting_tags_key
		value = var.account_recovery_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 Account Recovery Setting * update - (Defaults to 20 minutes), when updating the Account Recovery Setting * delete - (Defaults to 20 minutes), when destroying the Account Recovery Setting

Import

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

$ terraform import oci_identity_domains_account_recovery_setting.test_account_recovery_setting "idcsEndpoint/{idcsEndpoint}/accountRecoverySettings/{accountRecoverySettingId}"