yandex_organizationmanager_group_mapping_item (Resource)
Статья создана
Обновлена 18 июля 2025 г.
Allows management of Yandex Cloud Organization Manager Group Mapping Items
~> Group mapping items depends on group mapping. If you create group mapping via terraform use depends_on
meta-argument to avoid errors (see example below)
.
Example Usage
//
// Create a new OrganizationManager Group Mapping Item.
//
resource "yandex_organizationmanager_group_mapping_item" "group_mapping_item" {
federation_id = "my-federation_id"
internal_group_id = "my_internal_group_id"
external_group_id = "my_external_group_id"
depends_on = [yandex_organizationmanager_group_mapping.group_mapping]
}
Schema
Required
external_group_id
(String) ID of the external groupfederation_id
(String) ID of the SAML Federationinternal_group_id
(String) ID of the internal group
Optional
timeouts
(Block, Optional) (see below for nested schema)
Read-Only
id
(String) The ID of this resource.
timeouts
Nested Schema for 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.
Import
The resource can be imported by using their resource ID
. For getting the resource ID you can use Yandex Cloud Web Console
# terraform import yandex_organizationmanager_group_mapping_item.<resource Name> <resource Id>
terraform import yandex_organizationmanager_group_mapping_item.group_mapping_item .../.../...