Terraform module which creates compute instance on Yandex.Cloud.
Name | Version |
---|---|
terraform | >= 0.13 |
yandex | >= 0.88.0 |
Name | Version |
---|---|
yandex | >= 0.88.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
instance | Instance parameters: name, zone, subnet_id, is_nat (static public ip) | map(object({ |
{} |
yes |
core_fraction | Baseline performance for a core as a percent | number |
100 |
no |
cores | CPU cores for the instance | number |
2 |
no |
folder_id | Yandex Cloud Folder ID where resources will be created | string |
n/a | yes |
image_family | Yandex Cloud Compute Image family | string |
"debian-10" |
yes |
memory | Memory size for the instance in GB | number |
2 |
no |
nat_ip_address | Public IP address for instance to access the internet over NAT | string |
"" |
no |
platform_id | The type of virtual machine to create | string |
"standard-v3" |
no |
preemptible | Specifies if the instance is preemptible | bool |
false |
no |
size | Size of the boot disk in GB | string |
"10" |
no |
ssh_pubkey | SSH public key for access to the instance | string |
"~/.ssh/id_rsa.pub" |
no |
ssh_username | User for SSH access to the instance | string |
"debian" |
no |
Name | Description |
---|---|
compute_instance_external_ips | The external IP address of the instance |
compute_instance_fqdns | The fully qualified DNS name of this instance |
compute_instance_internal_ips | The internal IP address of the instance |