compute
glavk/compute/yandex
Terraform module which creates Compute resources on Yandex Cloud
Terraform module for Yandex.Cloud Compute Terraform module which creates compute instance on Yandex.Cloud. Usage Before using this module, you need to configure provider (or copy versions.tf): ``terraform terraform { required_version = ">= 0.13" required_providers { yandex = { source = "yandex-cloud/yandex" version = ">= 0.47.0" } } } ` Preemtible instance (Spot instance) `terraform module "compute" { source = "glavk/compute/yandex" version = "0.1.13" image_family = "ubuntu-docker" subnet = "sn-dev-0" folder_id = "xxx" name = "development" hostname = "dev" is_nat = true cores = 2 memory = 4 size = "10" preemptible = true sg_id = ["xxx"] } ` Examples - Dev instance example Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | | yandex | >= 0.47.0 | Providers | Name | Ve
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Yandex Cloud Compute instance name | required |
| subnet | string | Yandex VPC subnet | required |
| sg_id | list(string) | Security group ids for network interface | required |
| folder_id | string | Yandex Cloud Folder ID where resources will be created | required |
| image_family | string | Yandex Cloud Compute Image family | required |
| hostname | string | Host name for the instance. This field is used to generate the instance fqdn val | required |
| ssh_pubkey | string | SSH public key for access to the instance | "~/.ssh/id_rsa.pub" |
| platform_id | string | The type of virtual machine to create | "standard-v2" |
| preemptible | bool | Specifies if the instance is preemptible | false |
| cores | number | CPU cores for the instance | 2 |
| size | string | Size of the boot disk in GB | "10" |
| zones | list(string) | Yandex Cloud Zones for provisoned resources | [
"ru-central1-a",
"ru-central1-b",
|
| is_nat | bool | Provide a public address for instance to access the internet over NAT | false |
| memory | number | Memory size for the instance in GB | 2 |
| core_fraction | number | Baseline performance for a core as a percent | 100 |
| nat_ip_address | string | Public IP address for instance to access the internet over NAT | "" |
| ip_address | string | The private IP address to assign to the instance. If empty, the address will be | "" |
| secondary_disk_id | string | ID of the disk that is attached to the instance | "" |
| instance_count | number | Yandex Cloud Compute instance count | 1 |
| ssh_username | string | User for SSH access to the instance | "ubuntu" |
internal_ip — The internal IP address of the instanceexternal_ip — The external IP address of the instancefqdn — The fully qualified DNS name of this instanceAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,