Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2.7 KB

README.md

File metadata and controls

45 lines (34 loc) · 2.7 KB

Requirements

Name Version
terraform >= 1.3
google > 5.0

Providers

Name Version
google > 5.0

Modules

No modules.

Resources

Name Type
google_compute_instance_group_manager.mig resource

Inputs

Name Description Type Default Required
base_instance_name Base name for the instances in the MIG string null no
deployment_name Name of the deployment, will be used to name MIG if var.name is not provided string n/a yes
ghpc_module_id Internal GHPC field, do not set this value string null no
labels Labels to add to the MIG map(string) n/a yes
name Name of the MIG. If not provided, will be generated from var.deployment_name string null no
project_id Project in which the MIG will be created string n/a yes
target_size Target number of instances in the MIG number 0 no
versions Application versions managed by this instance group. Each version deals with a specific instance template
list(object({
name = string
instance_template = string
target_size = optional(object({
fixed = optional(number)
percent = optional(number)
}))
}))
n/a yes
wait_for_instances Whether to wait for all instances to be created/updated before returning bool false no
zone Compute Platform zone. Required, currently only zonal MIGs are supported string n/a yes

Outputs

Name Description
self_link The URL of the created MIG