yandex_organizationmanager_mfa_enforcement (Resource)
Written by
Updated at April 9, 2026
MFA enforcement resource
Example usage
//
// Create a new OrganizationManager MFA Enforcement.
//
resource "yandex_organizationmanager_mfa_enforcement" "example_mfa_enforcement" {
name = "example-mfa-enforcement"
organization_id = "your_organization_id"
acr_id = "any-mfa"
ttl = "2h45m"
status = "MFA_ENFORCEMENT_STATUS_ACTIVE"
enroll_window = "2h45m"
description = "Description example"
}
Arguments & Attributes Reference
acr_id(Required)(String). acr id of the MFA enforcementapply_at(String). the MFA enforcement application start time.created_at(Read-Only) (String). creation timestampdescription(String). description of the MFA enforcementenroll_window(Required)(String). the time window during which the user is allowed to create an MFA profile.
this window is measured relative to the MFA enforcement application start time
and the user's most recent successful authentication that falls under the rule
(or the user's creation time, if there has been no authentication).id(String). id of the MFA enforcementmfa_enforcement_id(String). id of the MFA enforcementname(Required)(String). name of the MFA enforcementorganization_id(Required)(String). organization id of the MFA enforcementstatus(String). MFA enforcement statustimeouts[Block].create(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
ttl(Required)(String). the period during which the entered MFA factor is considered valid and the
corresponding acr is regarded as satisfied