Skip to content

Commit

Permalink
add bastion_name and bastion_public_ip to output
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oehrli committed Oct 27, 2020
1 parent 2b43e55 commit c294a0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,21 @@ output "bastion_id" {
value = oci_core_instance.bastion.*.id
}

output "bastion_hostname" {
description = "The hostname for VNIC's primary private IP of the bastion server instances."
value = oci_core_instance.bastion.*.hostname_label
}

output "bastion_public_ip" {
description = "The public IP address of the bastion server instances."
value = oci_core_instance.bastion.*.public_ip
}

output "bastion_private_ip" {
description = "The private IP address of the bastion server instances."
value = oci_core_instance.bastion.*.private_ip
}

output "bastion_dns_records" {
description = "The DNS records for the bastion server instances."
value = [oci_dns_record.bastion.*.rdata]
Expand Down

0 comments on commit c294a0f

Please sign in to comment.