compute-instance
darzanebor/compute-instance/yandex
Yandex.Cloud Terraform Compute Instance module
Yandex.Cloud Terraform Cloud Instance module Example `` module "compute_instance" { source = "github.com/darzanebor/terraform-yandex-compute-instance.git" name = "my-vm" zone = "ru-central1-a" platform_id = "standard-v1" vpc_subnet_name = "ru-central1-a" vpc_security_groups = ["sg-default"] create_default_security_group = true ipv4_private_address = "10.10.10.10" nat_ip_address = "1.0.0.1" username = "default" password = "hashed_password" ssh_key = file("~/.ssh/id_rsa.pub") allow_stopping_for_update = true allocate_ipv4 = true allocate_ipv6 = false allocate_nat = false resources = { cores = 2 memory = 4 core_fraction = null } boot_disk = { name = "boot-disk-my-vm" type = "network-ssd" zone = "ru-central1-a" image_id = "fd80s5atj1quloqfr00f" labels = { environment = "test" } } dns_record =
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_subnet_name | string | (Required) VPC subnet to place the instance. | required |
| vpc_security_groups | list | (Optional) - Assign security groups to instance. | [] |
| dns_record | map | (Optional) List of configurations for creating ipv4 DNS records. The structure i | {} |
| ipv6_dns_record | map | (Optional) List of configurations for creating ipv6 DNS records. The structure i | {} |
| user_data | string | (Optional) Custom user-data for compute instance. | "" |
| name | string | (Optional) Resource name. | null |
| resources | map | (Required) Compute resources that are allocated for the instance. | {} |
| nat_public_ip_address | string | (Optional) Provide a public address, for instance, to access the internet over N | null |
| create_default_security_group | bool | (Optional) - Create default security group. | false |
| boot_disk | map | (Required) The boot disk for the instance. | {} |
| nat_dns_record | map | (Optional) List of configurations for creating ipv4 NAT DNS records. The structu | {} |
| ssh_key | string | (Optional) Provide public ssh_key to assign to user on compute instance. | "" |
| user_groups | string | (Optional) Provide groups to assign to user on compute instance. | "sudo" |
| allow_stopping_for_update | bool | (Optional) Custom user-data for compute instance. | false |
| platform_id | string | (Optional) The type of virtual machine to create. The default is 'standard-v1'. | null |
| allocate_ipv4 | bool | (Optional) Allocate an IPv4 address for the interface. The default value is true | true |
| default_security_group_egress | list | (Optional) - A list of egress rules to create with default security group. | [] |
| username | string | (Optional) Provide username for creation on instance with cloud-init. | "" |
| allocate_nat | bool | (Optional) Provide a public address, for instance, to access the internet over N | false |
| default_security_group_ingress | list | (Optional) - A list of ingress rules to create with default security group. | [] |
| password | string | (Optional) Provide password for creation on instance with cloud-init for user. | "" |
yandex_compute_instanceyandex_vpc_security_groupyandex_compute_disk_bootAzure 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,