Skip to content

avbuben/terraform-yandex-compute

 
 

Repository files navigation

Terraform module for Yandex.Cloud Compute

Terraform module which creates compute instance on Yandex.Cloud.

Examples usage

Requirements

Name Version
terraform >= 0.13
yandex >= 0.88.0

Providers

Name Version
yandex >= 0.88.0

Inputs

Name Description Type Default Required
instance Instance parameters: name, zone, subnet_id, is_nat (static public ip)
map(object({
name = string
zone = string
subnet_id = string
is_nat = bool
}))
{} 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

Outputs

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

About

Terraform module which creates Compute resources on Yandex Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%