-
Notifications
You must be signed in to change notification settings - Fork 7
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 #11 from equinix-labs/output-tweaks
Update Outputs
- Loading branch information
Showing
1 changed file
with
8 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,24 +1,24 @@ | ||
|
||
output "ssh_private_key" { | ||
description = "The private key for the SSH keypair" | ||
description = "SSH Private key to use to connect to bastion and management hosts over SSH." | ||
value = module.ssh.ssh_private_key | ||
sensitive = false | ||
} | ||
output "bastion_public_ip" { | ||
description = "The public IP address of the bastion host" | ||
description = "The public IP address of the bastion host." | ||
value = equinix_metal_device.bastion.access_public_ipv4 | ||
} | ||
output "ssh_forward_command" { | ||
description = "SSH port forward command to use to connect to the VCF GUIs" | ||
value = "ssh -L 8000:172.16.11.101:443 -L 8100:172.16.10.3:443 -i ${module.ssh.ssh_private_key} root@${equinix_metal_device.bastion.access_public_ipv4}" | ||
} | ||
output "management_public_ip" { | ||
description = "The public IP address of the windows management host" | ||
description = "The public IP address of the windows management host." | ||
value = equinix_metal_device.management.access_public_ipv4 | ||
} | ||
|
||
output "management_password" { | ||
description = "Randomly generated password used for the Admin accounts on the management host." | ||
sensitive = true | ||
value = random_password.management.result | ||
} | ||
|
||
output "next_steps" { | ||
description = "Instructions for accessing the management host." | ||
value = "Run `terraform output -raw management_password` to see the management host's admin password and then RDP to the Management host as SYSTEM\\Admin with that password." | ||
} |