yandex_billing_cloud_binding (Data Source)
Written by
Updated at August 7, 2025
Use this data source to get cloud to billing account bind details. For more information, see Cloud binding.
Example usage
//
// Get information about existing Billing Cloud Binding
//
data "yandex_billing_cloud_binding" "foo" {
billing_account_id = "foo-ba-id"
cloud_id = "foo-cloud-id"
}
output "bound_cloud_id" {
value = data.yandex_billing_cloud_binding.foo.cloud_id
}
Argument Reference
The following arguments are supported:
billing_account_id- (Required) ID of the billing account.cloud_id- (Required) ID of the cloud.