This commit is contained in:
2024-08-06 17:33:59 +02:00
parent 6e1f478ce5
commit da14091106
81 changed files with 549 additions and 185 deletions

View File

@@ -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
}

View File

@@ -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" {

View File

@@ -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
#}

View File

@@ -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
}

View File

@@ -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

View File

@@ -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
}