Yandex IaC solutions

Yandex IaC solutions

https://github.com/patsevanton/yandex-iac-ansible-example

yandex-iac-ansible-example

infrastructure-as-a-code-example

Examples of infrastructure as code tools include Yandex Cloud, Terraform and Ansible. Terraform code don`t use managed service in Yandex Cloud.

Install YC cli

curl https://storage.yandexcloud.net/yandexcloud-yc/install.sh | bash

Init YC cli

yc init

Get token, cloud-id, folder-id

yc config list

Output:

Terraform

Set up terraform

Set terraform mirror

with code

terraform fmt for private.auto.tfvars.example

Ansible

Install Ansible

Setting for ubuntu 22.04

SSH

Last updated

Was this helpful?