# Terraform reference for Yandex Cloud CDN

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}

Cloud CDN supports the following Terraform resources:

| **Terraform resource** | **Yandex Cloud resource** |
| --- | --- |
| [yandex_cdn_origin_group](../terraform/resources/cdn_origin_group.md) | [Origin group](concepts/origins.md#groups) |
| [yandex_cdn_resource](../terraform/resources/cdn_resource.md) | [CDN resource](concepts/resource.md) |

## Data sources {#data-sources}

Cloud CDN supports the following Terraform data sources:

| **Terraform data source** | **Description** |
| --- | --- |
| [yandex_cdn_origin_group](../terraform/data-sources/cdn_origin_group.md) | Information about an [origin group](concepts/origins.md#groups) |
| [yandex_cdn_resource](../terraform/data-sources/cdn_resource.md) | Information about a [CDN resource](concepts/resource.md) |