yandex_organizationmanager_mfa_enforcement (Resource)
Статья создана
Обновлена 12 февраля 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 statusttl(Required)(String). the period during which the entered MFA factor is considered valid and the
corresponding acr is regarded as satisfied