Examples of infrastructure as code tools include Yandex Cloud and Terraform.
curl https://storage.yandexcloud.net/yandexcloud-yc/install.sh | bash
yc init
yc config list
token: xxx
cloud-id: xxx
folder-id: xxxx
compute-default-zone: ru-central1-a
Download and install terraform CLI from https://www.terraform.io/downloads
nano ~/.terraformrc
with code
provider_installation {
network_mirror {
url = "https://terraform-mirror.yandexcloud.net/"
include = ["registry.terraform.io/*/*"]
}
direct {
exclude = ["registry.terraform.io/*/*"]
}
}