adaptation to hero
This commit is contained in:
@@ -136,8 +136,8 @@ resource "grid_deployment" "d0" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net0.access_wg_config
|
||||
}
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.d0.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.d0.vms[0].planetary_ip
|
||||
}
|
||||
output "vm_ip" {
|
||||
value = grid_deployment.d0.vms[0].ip
|
||||
@@ -427,8 +427,8 @@ resource "grid_deployment" "d2" {
|
||||
output "wg_config" {
|
||||
value = grid_network.net2.access_wg_config
|
||||
}
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.d2.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.d2.vms[0].planetary_ip
|
||||
}
|
||||
output "vm_ip" {
|
||||
value = grid_deployment.d2.vms[0].ip
|
||||
|
@@ -181,8 +181,8 @@ resource "grid_deployment" "qsfs" {
|
||||
output "metrics" {
|
||||
value = grid_deployment.qsfs.qsfs[0].metrics_endpoint
|
||||
}
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.qsfs.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.qsfs.vms[0].planetary_ip
|
||||
}
|
||||
```
|
||||
|
||||
|
@@ -266,8 +266,8 @@ resource "grid_deployment" "qsfs" {
|
||||
output "metrics" {
|
||||
value = grid_deployment.qsfs.qsfs[0].metrics_endpoint
|
||||
}
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.qsfs.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.qsfs.vms[0].planetary_ip
|
||||
}
|
||||
```
|
||||
|
||||
@@ -337,7 +337,7 @@ To SSH with Planetary Network, write the following:
|
||||
ssh root@planetary_IP
|
||||
```
|
||||
|
||||
Note that the IP address should be the value of the parameter **ygg_ip** from the Terraform Outputs.
|
||||
Note that the IP address should be the value of the parameter **planetary_ip** from the Terraform Outputs.
|
||||
|
||||
You now have an SSH connection access to the VM over Planetary Network.
|
||||
|
||||
|
@@ -94,15 +94,15 @@ resource "grid_deployment" "d1" {
|
||||
output "vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "vm1_ygg_ip" {
|
||||
value = grid_deployment.d1.vms[0].ygg_ip
|
||||
output "vm1_planetary_ip" {
|
||||
value = grid_deployment.d1.vms[0].planetary_ip
|
||||
}
|
||||
|
||||
output "vm2_ip" {
|
||||
value = grid_deployment.d1.vms[1].ip
|
||||
}
|
||||
output "vm2_ygg_ip" {
|
||||
value = grid_deployment.d1.vms[1].ygg_ip
|
||||
output "vm2_planetary_ip" {
|
||||
value = grid_deployment.d1.vms[1].planetary_ip
|
||||
}
|
||||
|
||||
```
|
||||
|
@@ -87,15 +87,15 @@ resource "grid_deployment" "d1" {
|
||||
output "vm1_ip" {
|
||||
value = grid_deployment.d1.vms[0].ip
|
||||
}
|
||||
output "vm1_ygg_ip" {
|
||||
value = grid_deployment.d1.vms[0].ygg_ip
|
||||
output "vm1_planetary_ip" {
|
||||
value = grid_deployment.d1.vms[0].planetary_ip
|
||||
}
|
||||
|
||||
output "vm2_ip" {
|
||||
value = grid_deployment.d1.vms[1].ip
|
||||
}
|
||||
output "vm2_ygg_ip" {
|
||||
value = grid_deployment.d1.vms[1].ygg_ip
|
||||
output "vm2_planetary_ip" {
|
||||
value = grid_deployment.d1.vms[1].planetary_ip
|
||||
}
|
||||
|
||||
```
|
||||
@@ -276,7 +276,7 @@ output "public_ip" {
|
||||
value = grid_deployment.d1.vms[0].computedip
|
||||
}
|
||||
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.d1.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.d1.vms[0].planetary_ip
|
||||
}
|
||||
```
|
||||
|
@@ -77,8 +77,8 @@ output "public_ip" {
|
||||
value = split("/",grid_deployment.d1.vms[0].computedip)[0]
|
||||
}
|
||||
|
||||
output "ygg_ip" {
|
||||
value = grid_deployment.d1.vms[0].ygg_ip
|
||||
output "planetary_ip" {
|
||||
value = grid_deployment.d1.vms[0].planetary_ip
|
||||
}
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user