zoo: add drupal-28 to teraform scrips
This commit is contained in:
parent
0fb0c58fd4
commit
3164ae77c4
|
@ -89,6 +89,10 @@ data "google_compute_image" "zerologon-25" {
|
|||
name = "zerologon-25"
|
||||
project = local.monkeyzoo_project
|
||||
}
|
||||
data "google_compute_image" "drupal-28" {
|
||||
name = "drupal-28"
|
||||
project = local.monkeyzoo_project
|
||||
}
|
||||
data "google_compute_image" "island-linux-250" {
|
||||
name = "island-linux-250"
|
||||
project = local.monkeyzoo_project
|
||||
|
|
|
@ -447,6 +447,21 @@ resource "google_compute_instance_from_template" "zerologon-25" {
|
|||
}
|
||||
}
|
||||
|
||||
resource "google_compute_instance_from_template" "drupal-28" {
|
||||
name = "${local.resource_prefix}drupal-28"
|
||||
source_instance_template = local.default_windows
|
||||
boot_disk{
|
||||
initialize_params {
|
||||
image = data.google_compute_image.drupal-28.self_link
|
||||
}
|
||||
auto_delete = true
|
||||
}
|
||||
network_interface {
|
||||
subnetwork="${local.resource_prefix}monkeyzoo-main"
|
||||
network_ip="10.2.2.28"
|
||||
}
|
||||
}
|
||||
|
||||
resource "google_compute_instance_from_template" "island-linux-250" {
|
||||
name = "${local.resource_prefix}island-linux-250"
|
||||
machine_type = "n1-standard-2"
|
||||
|
|
Loading…
Reference in New Issue