Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Virtual Private Cloud
  • Getting started
  • DDoS Protection
  • Access management
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Resources
  • Data sources

Terraform reference for Yandex Virtual Private Cloud

Written by
Yandex Cloud
Updated at May 5, 2025
  • Resources
  • Data sources

With Terraform, 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. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about Terraform, see this tutorial.

ResourcesResources

The following Terraform provider resources are supported for Virtual Private Cloud:

Terraform resource Yandex Cloud resource
yandex_vpc_address Cloud resource address
yandex_vpc_default_security_group Default security group
yandex_vpc_gateway Gateway
yandex_vpc_network Cloud network
yandex_vpc_route_table Route table
yandex_vpc_security_group Security group
yandex_vpc_security_group_rule Security group rule
yandex_vpc_subnet Subnet

Data sourcesData sources

Virtual Private Cloud supports the following Terraform provider data sources:

Terraform data source Description
yandex_vpc_address Information on a cloud resource address
yandex_vpc_gateway Gateway information
yandex_vpc_network Cloud network information
yandex_vpc_route_table Route table information
yandex_vpc_security_group Security group information
yandex_vpc_security_group_rule Information on a security group rule
yandex_vpc_subnet Subnet information

Was the article helpful?

Previous
update
Next
Authentication with the API
Yandex project
© 2025 Yandex.Cloud LLC