» yandex_iam_user
Get information about a Yandex IAM user account. For more information about accounts, see Yandex.Cloud IAM users
data "yandex_iam_user" "admin" {
login = "my-yandex-login"
}
This data source is used to define IAM Users that can be used by other resources.
» Argument Reference
The following arguments are supported:
-
login
(Optional) - Login name used to sign in to Yandex Passport. -
user_id
(Optional) - User ID used to manage IAM access bindings.
NOTE: Either login
or user_id
must be specified.
» Attributes Reference
The following attribute is exported:
-
user_id
- ID of IAM user account. -
login
- Login name of IAM user account. -
default_email
- Email address of user account.