# Terraform reference for Yandex Query

With [Terraform](https://www.terraform.io/), you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the [Business Source License](https://github.com/hashicorp/terraform/blob/main/LICENSE). The [Yandex Cloud provider for Terraform](https://github.com/yandex-cloud/terraform-provider-yandex) is distributed under the [MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/) license.


For more information about Terraform, see [this tutorial](../tutorials/infrastructure-management/terraform-quickstart.md#install-terraform).

## Resources {#resources}

Query supports the following Terraform provider resources:

| **Terraform resource** | **Yandex Cloud resource** |
| --- | --- |
| [yandex_yq_ydb_connection](../terraform/resources/yq_ydb_connection.md) | [Managed Service for YDB connection](concepts/glossary.md#connection) |
| [yandex_yq_yds_connection](../terraform/resources/yq_yds_connection.md) | [Data Streams connection](concepts/glossary.md#connection) |
| [yandex_yq_yds_binding](../terraform/resources/yq_yds_binding.md) | [Assigning](../iam/concepts/access-control/index.md#access-bindings) access permissions for a [Data Streams connection](concepts/glossary.md#connection) |
| [yandex_yq_monitoring_connection](../terraform/resources/yq_monitoring_connection.md) | [Yandex Monitoring connection](concepts/glossary.md#connection) |
| [yandex_yq_object_storage_connection](../terraform/resources/yq_object_storage_connection.md) | [Object Storage connection](concepts/glossary.md#connection) |
| [yandex_yq_object_storage_binding](../terraform/resources/yq_object_storage_binding.md) | [Assigning](../iam/concepts/access-control/index.md#access-bindings) access permissions for a [Object Storage connection](concepts/glossary.md#connection) |