yandex_iam_service_agent (Data Source)
Статья создана
Обновлена 7 августа 2025 г.
Get information about a Yandex Cloud Service Agent.
Example usage
//
// Get information about existing IAM Service Agent.
//
data "yandex_iam_service_agent" "my_service_agent" {
cloud_id = "some_cloud_id"
service_id = "some_service_id"
microservice_id = "some_microservice_id"
}
output "my_service_agent_id" {
value = "data.yandex_iam_service_agent.my_service_agent.id"
}
Schema
Optional
cloud_id(String) ID of the cloud.microservice_id(String) ID of the service-control microservice.service_id(String) ID of the service-control service.
Read-Only
id(String) The ID of this resource.