yandex_compute_reserved_instance_pool_iam_member (Resource)
Written by
Updated at December 2, 2026
Allows creation and management of a single binding within IAM policy for an existing reserved_instance_pool.
Example usage
//
// Create a new Compute Reserved Instance Pool and new IAM Member for it.
//
data "yandex_compute_image" "ubuntu" {
family = "ubuntu-1804-lts"
}
resource "yandex_compute_reserved_instance_pool" "pool" {
name = "reserved-instance-pool"
zone = "ru-central1-a"
platform_id = "standard-v2"
resources_spec = {
cores = 4
core_fraction = 100
memory = 4294967296
}
boot_disk_spec = {
image_id = "${data.yandex_compute_image.ubuntu.id}"
}
size = 1
}
resource "yandex_compute_reserved_instance_pool_iam_member" "editor" {
reserved_instance_pool_id = yandex_compute_reserved_instance_pool.pool.id
role = "editor"
member = "userAccount:some_user_id"
}
Arguments & Attributes Reference
id(String). The ID of this resource.member(Required)(String). An identity that will be granted the privilege in therole. It can have one of the following values:
- userAccount:{user_id}: A unique user ID that represents a specific Yandex account.
- serviceAccount:{service_account_id}: A unique service account ID.
- federatedUser:{federated_user_id}: A unique federated user ID.
- group:{group_id}: A unique group ID.
- system:group:federation:{federation_id}:users: All users in federation.
- system:group:organization:{organization_id}:users: All users in organization.
- system:allAuthenticatedUsers: All authenticated users.
- system:allUsers: All users, including unauthenticated ones.
Warning
for more information about system groups, see Cloud Documentation.
reserved_instance_pool_id(Required)(String). The ID of thereserved_instance_poolto attach the policy to.role(Required)(String). The role that should be assigned to the member.sleep_after(Number). For test purposes, to compensate IAM operations delay