Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • organizationmanager_group
          • organizationmanager_group_iam_member
          • organizationmanager_group_mapping
          • organizationmanager_group_mapping_item
          • organizationmanager_group_membership
          • organizationmanager_idp_application_oauth_application
          • organizationmanager_idp_application_oauth_application_assignment
          • organizationmanager_idp_application_saml_application
          • organizationmanager_idp_application_saml_application_assignment
          • organizationmanager_idp_application_saml_signature_certificate
          • organizationmanager_idp_user
          • organizationmanager_idp_userpool
          • organizationmanager_idp_userpool_domain
          • organizationmanager_mfa_enforcement
          • organizationmanager_mfa_enforcement_audience
          • organizationmanager_organization_iam_binding
          • organizationmanager_organization_iam_member
          • organizationmanager_os_login_settings
          • organizationmanager_saml_federation
          • organizationmanager_saml_federation_user_account
          • organizationmanager_user_ssh_key

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Identity Hub
  4. Resources
  5. organizationmanager_mfa_enforcement

yandex_organizationmanager_mfa_enforcement (Resource)

Written by
Yandex Cloud
Updated at April 9, 2026
  • Example usage
  • Arguments & Attributes Reference

MFA enforcement resource

Example usageExample 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 ReferenceArguments & Attributes Reference

  • acr_id (Required)(String). acr id of the MFA enforcement
  • apply_at (String). the MFA enforcement application start time.
  • created_at (Read-Only) (String). creation timestamp
  • description (String). description of the MFA enforcement
  • enroll_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 enforcement
  • mfa_enforcement_id (String). id of the MFA enforcement
  • name (Required)(String). name of the MFA enforcement
  • organization_id (Required)(String). organization id of the MFA enforcement
  • status (String). MFA enforcement status
  • timeouts [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

Was the article helpful?

Previous
organizationmanager_idp_userpool_domain
Next
organizationmanager_mfa_enforcement_audience
© 2026 Direct Cursus Technology L.L.C.