Added tunneling-12 (windows) machine to monkeyzoo infra and test config.

This commit is contained in:
VakarisZ 2020-04-08 12:14:33 +03:00
parent 2c2af5451d
commit a74a7cc48f
2 changed files with 18 additions and 1 deletions

View File

@ -5,6 +5,7 @@
"Password1!", "Password1!",
"3Q=(Ge(+&w]*", "3Q=(Ge(+&w]*",
"`))jU7L(w}", "`))jU7L(w}",
"t67TC5ZDmz",
"12345678", "12345678",
"another_one", "another_one",
"and_another_one", "and_another_one",
@ -30,7 +31,8 @@
"subnet_scan_list": [ "subnet_scan_list": [
"10.2.2.9", "10.2.2.9",
"10.2.1.10", "10.2.1.10",
"10.2.0.11" "10.2.0.11",
"10.2.0.12"
] ]
}, },
"network_analysis": { "network_analysis": {

View File

@ -201,6 +201,21 @@ resource "google_compute_instance_from_template" "tunneling-11" {
} }
} }
resource "google_compute_instance_from_template" "tunneling-12" {
name = "${local.resource_prefix}tunneling-12"
source_instance_template = local.default_windows
boot_disk{
initialize_params {
image = data.google_compute_image.tunneling-12.self_link
}
auto_delete = true
}
network_interface{
subnetwork="${local.resource_prefix}tunneling2-main"
network_ip="10.2.0.12"
}
}
resource "google_compute_instance_from_template" "sshkeys-11" { resource "google_compute_instance_from_template" "sshkeys-11" {
name = "${local.resource_prefix}sshkeys-11" name = "${local.resource_prefix}sshkeys-11"
source_instance_template = local.default_ubuntu source_instance_template = local.default_ubuntu