mirror of
https://github.com/ghndrx/tf-variable-demo.git
synced 2026-02-10 06:54:57 +00:00
add version and cleanup sloc
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
resource "google_compute_instance_group_manager" "instance_group" {
|
||||
name = "instance-group"
|
||||
project = var.project_id
|
||||
region = var.region
|
||||
#region = var.region
|
||||
base_instance_name = "instance"
|
||||
instance_template = var.template_self_link
|
||||
|
||||
version {
|
||||
name = "webserver"
|
||||
instance_template = var.template_self_link
|
||||
}
|
||||
|
||||
target_size = 2
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
variable "project_id" {}
|
||||
variable "region" {}
|
||||
variable "template_self_link" {}
|
||||
variable "template_self_link" {}
|
||||
Reference in New Issue
Block a user