Dedicated Servers in Terraform
Terraform is an infrastructure as code tool by HashiCorp for managing infrastructure on cloud or dedicated servers. Infrastructure and its components are described using HashiCorp Configuration Language (HCL) in configuration files with the .tf extension. Learn more about the tool in the What is Terraform? article in the HashiCorp documentation.
Terraform manages infrastructure using providers, which are special plugins that interact with the APIs of services and platforms.
Dedicated servers are managed using the Selectel provider, which provides the selectel_dedicated_server_v1 resource. Learn more about managing resources in the Managing Terraform Resources guide.
To install Terraform and set up the Selectel provider, use the Terraform Quick Start guide. When working with dedicated servers via Terraform, pay attention to the specifics of managing dedicated servers. View examples of infrastructure creation in the Dedicated Servers section of the Terraform documentation.