s
This commit is contained in:
@@ -230,10 +230,10 @@ resource "grid_deployment" "d2" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "node1_zmachine2_ip" {
|
||||
output "node1_zero_vm2_ip" {
|
||||
value = grid_deployment.d2.vms[0].ip
|
||||
}
|
||||
|
||||
|
@@ -70,10 +70,10 @@ resource "grid_deployment" "d1" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "node1_zmachine2_ip" {
|
||||
output "node1_zero_vm2_ip" {
|
||||
value = grid_deployment.d1.vms[1].ip
|
||||
}
|
||||
output "public_ip" {
|
||||
|
@@ -254,10 +254,10 @@ resource "grid_deployment" "d2" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "node1_zmachine2_ip" {
|
||||
output "node1_zero_vm2_ip" {
|
||||
value = grid_deployment.d2.vms[0].ip
|
||||
}
|
||||
|
||||
@@ -801,10 +801,10 @@ To avoid errors, set HTTPS with the master VM and power off the worker VM.
|
||||
```
|
||||
* Put `#` in front of the appropriated lines, as shown below:
|
||||
```
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
#output "node1_zmachine2_ip" {
|
||||
#output "node1_zero_vm2_ip" {
|
||||
# value = grid_deployment.d2.vms[0].ip
|
||||
#}
|
||||
|
||||
|
@@ -209,7 +209,7 @@ resource "grid_deployment" "d1" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
|
||||
|
@@ -165,7 +165,7 @@ resource "grid_deployment" "d1" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ As a test, you can [ping](../../computer_it_basics/cli_scripts_basics.md#test-th
|
||||
* ```
|
||||
ping vm_wg_ip
|
||||
```
|
||||
* Note that, with this Terraform deployment, the Wireguard IP address of the micro VM is named `node1_zmachine1_ip`
|
||||
* Note that, with this Terraform deployment, the Wireguard IP address of the micro VM is named `node1_zero_vm1_ip`
|
||||
|
||||
|
||||
## SSH into the 3Node with Wireguard
|
||||
|
@@ -202,10 +202,10 @@ resource "grid_deployment" "d2" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net1.access_wg_config
|
||||
}
|
||||
output "node1_zmachine1_ip" {
|
||||
output "node1_zero_vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "node1_zmachine2_ip" {
|
||||
output "node1_zero_vm2_ip" {
|
||||
value = grid_deployment.d2.vms[0].ip
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user