yandex_iam_service_account (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex IAM service account. For more information about accounts, see Yandex Cloud IAM accounts.
Важно
One of service_account_id or name should be specified.
Example usage
//
// Get information about existing IAM Service Account (SA).
//
data "yandex_iam_service_account" "builder" {
service_account_id = "aje5a**********qspd3"
}
data "yandex_iam_service_account" "deployer" {
name = "sa_name"
}
Schema
Optional
folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.name(String) The resource name.service_account_id(String) ID of a specific service account.
Read-Only
created_at(String) The creation timestamp of the resource.description(String) The resource description.id(String) The ID of this resource.