-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from avinava-mycelium/terraform-module-update-o…
…utputs Automating the outputs generated from module
- Loading branch information
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/.DS_Store | ||
/.history | ||
/.history | ||
.terraform | ||
terraform.tfvars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
output "eth_fm_instance_name" { | ||
description = "The name of the VM instance holding the node" | ||
value = module.chainlinknode.instances_details[0].name | ||
value = google_compute_instance.this.name | ||
} | ||
|
||
output "eth_fm_disk_name" { | ||
description = "The boot disk name of the node" | ||
value = module.chainlinknode.instances_details[0].boot_disk[0].device_name | ||
value = google_compute_instance.this.boot_disk[0].device_name | ||
} | ||
|
||
output "eth_fm_disk_size" { | ||
description = "The boot disk size of the node" | ||
value = module.chainlinknode.instances_details[0].boot_disk[0].initialize_params[0].size | ||
value = google_compute_instance.this.boot_disk[0].initialize_params[0].size | ||
} | ||
|
||
output "eth_fm_gcs_startup_script" { | ||
description = "The private bucket location for the startup script of the node" | ||
value = module.chainlinknode.instances_details[0].metadata.startup-script-url | ||
value = google_compute_instance.this.metadata.startup-script-url | ||
} | ||
|
||
output "eth_fm_external_ip_addresses" { | ||
description = "The public IP address of the node" | ||
value = module.chainlinknode.instances_details[0].network_interface[0].access_config[0].nat_ip | ||
value = google_compute_instance.this.network_interface[0].access_config[0].nat_ip | ||
} | ||
|
||
output "eth_fm_internal_ip_addresses" { | ||
description = "The internal static IP address of the node" | ||
value = module.chainlinknode.static_internal_ip[0].addresses[0] | ||
value = module.address.addresses[0] | ||
} | ||
|
||
output "eth_fm_internal_ip_names" { | ||
description = "The internal static IP names of the node" | ||
value = module.chainlinknode.static_internal_ip[0].names[0] | ||
value = module.address.names[0] | ||
} |