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
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for timeouts
  1. Terraform reference
  2. Resources
  3. Cloud Organization
  4. Resources
  5. organizationmanager_mfa_enforcement

yandex_organizationmanager_mfa_enforcement (Resource)

Written by
Yandex Cloud
Updated at January 20, 2026
  • Example usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for timeouts

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"
}

SchemaSchema

RequiredRequired

  • acr_id (String) acr id of the MFA enforcement
  • enroll_window (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).
  • name (String) name of the MFA enforcement
  • organization_id (String) organization id of the MFA enforcement
  • ttl (String) the period during which the entered MFA factor is considered valid and the
    corresponding acr is regarded as satisfied

OptionalOptional

  • apply_at (String) the MFA enforcement application start time.
  • description (String) description of the MFA enforcement
  • id (String) id of the MFA enforcement
  • mfa_enforcement_id (String) id of the MFA enforcement
  • status (String) MFA enforcement status
  • timeouts (Attributes) (see below for nested schema)

Read-OnlyRead-Only

  • created_at (String) creation timestamp

Nested Schema for Nested Schema for timeouts

Optional:

  • 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).

Was the article helpful?

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