mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
terraform: allow for multiple instance groups (#1471)
This commit is contained in:
parent
7a0cbe39f4
commit
cf9970c051
6 changed files with 74 additions and 58 deletions
|
@ -56,7 +56,7 @@ resource "google_compute_instance_template" "template" {
|
|||
subnetwork = var.subnetwork
|
||||
alias_ip_range {
|
||||
ip_cidr_range = "/24"
|
||||
subnetwork_range_name = var.name
|
||||
subnetwork_range_name = var.alias_ip_range_name
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -79,3 +79,8 @@ variable "debug" {
|
|||
default = false
|
||||
description = "Enable debug mode. This will enable serial port access on the instances."
|
||||
}
|
||||
|
||||
variable "alias_ip_range_name" {
|
||||
type = string
|
||||
description = "Name of the alias IP range to use."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue