docs: added root README

This commit is contained in:
ITQ
2025-10-31 15:22:32 +03:00
parent 0dc6551e7c
commit 3181e9d8cc
4 changed files with 91 additions and 26 deletions
+3 -26
View File
@@ -1,28 +1,5 @@
# Terraform
# Yandex Cloud K8S
## Prerequisites
Terraform + cloud-init configuration for one click partialy managed HA K8S cluster.
Ensure you have the following installed on your system:
- [Terraform](https://developer.hashicorp.com/terraform) (latest version recommended)
## Main (`./main`)
Main Terraform module for infrastructure
## Service (`./service`)
Terraform module to create service account for [Main](#main-main) terraform module.
## CheatSheet
```bash
# Init Terraform module
../scripts/init
# Set required variables for terraform from dotenv file
export $(grep -v '^#' ./.env | xargs)
# Unset required variables for terraform from dotenv file
unset $(grep -v '^#' ./.env | sed 's/=.*//' | xargs)
```
![arch](./assets/img/arch.png)