Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • billing_cloud_binding

In this article:

  • Example usage
  • Arguments & Attributes Reference
  • Import
  1. Terraform reference
  2. Resources
  3. Billing
  4. Resources
  5. billing_cloud_binding

yandex_billing_cloud_binding (Resource)

Written by
Yandex Cloud
Updated at February 9, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference
  • Import

Bind cloud to billing account. Creating the bind, which connect the cloud to the billing account.
For more information, see the official documentation.

Note: Currently resource deletion do not unbind cloud from billing account. Instead it does no-operations.

Example usageExample usage

//
// Create a new Billing Cloud Binding
//
resource "yandex_billing_cloud_binding" "foo" {
  billing_account_id = "foo-ba-id"
  cloud_id           = "foo-cloud-id"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • billing_account_id (Required)(String). The ID of billing account to bind cloud to.
  • cloud_id (Required)(String). Service Instance ID.
  • id (Read-Only) (String). The resource identifier.

ImportImport

The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console or Yandex Cloud CLI.

# terraform import yandex_billing_cloud_binding.<resource Name> <ba_id>/cloud/<cloud_id>
terraform import yandex_billing_cloud_binding.my_ba_binding dn217**********7m4jq/cloud/b1g5q**********qa4f3

Was the article helpful?

Previous
billing_cloud_binding
Next
cm_certificate
© 2026 Direct Cursus Technology L.L.C.