Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 3.21 KB

README.md

File metadata and controls

44 lines (34 loc) · 3.21 KB

Unmanaged Instance Group (UMIG)

This module is used to create compute instances using google_compute_instance_from_template, and google_compute_instance_groups.

Usage

See the simple for a usage example.

Testing

Inputs

Name Description Type Default Required
access_config Access configurations, i.e. IPs via which the VM instance can be accessed via the Internet.
list(list(object({
nat_ip = string
network_tier = string
})))
[] no
additional_networks Additional network interface details for GCE, if any.
list(object({
network = string
subnetwork = string
subnetwork_project = string
network_ip = string
access_config = list(object({
nat_ip = string
network_tier = string
}))
ipv6_access_config = list(object({
network_tier = string
}))
}))
[] no
hostname Hostname of instances string "" no
hostname_suffix_separator Separator character to compose hostname when add_hostname_suffix is set to true. string "-" no
instance_template Instance template self_link used to create compute instances string n/a yes
ipv6_access_config IPv6 access configurations. Currently a max of 1 IPv6 access configuration is supported. If not specified, the instance will have no external IPv6 Internet access.
list(list(object({
network_tier = string
})))
[] no
named_ports Named name and named port
list(object({
name = string
port = number
}))
[] no
network Network to deploy to. Only one of network or subnetwork should be specified. string "" no
num_instances Number of instances to create. This value is ignored if static_ips is provided. string "1" no
project_id The GCP project ID string null no
region The GCP region where the unmanaged instance group resides. string n/a yes
static_ips List of static IPs for VM instances list(string) [] no
subnetwork Subnet to deploy to. Only one of network or subnetwork should be specified. string "" no
subnetwork_project The project that subnetwork belongs to string "" no
zones (Optional) List of availability zones to create VM instances in list(string) [] no

Outputs

Name Description
available_zones List of available zones in region
instances_details List of all details for compute instances
instances_self_links List of self-links for compute instances
self_links List of self-links for unmanaged instance groups
umig_details List of all details for unmanaged instance groups