-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
38 lines (33 loc) · 1.35 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ------------------------------------------------------------------------------
# Trivadis - Part of Accenture, Platform Factory - Data Platforms
# Saegereistrasse 29, 8152 Glattbrugg, Switzerland
# ------------------------------------------------------------------------------
# Name.......: outputs.tf
# Author.....: Stefan Oehrli (oes) [email protected]
# Editor.....: Stefan Oehrli
# Date.......: 2023.05.04
# Revision...: 3.0.12
# Purpose....: Output for the terraform module tvdlab host.
# Notes......: --
# Reference..: --
# License....: Apache License Version 2.0, January 2004 as shown
# at http://www.apache.org/licenses/
# ------------------------------------------------------------------------------
# display public IPs
output "id" {
description = "OCID of the instances."
value = oci_core_instance.compute[*].id
}
output "name" {
description = "The hostname for VNIC's primary private IP of the instances."
value = oci_core_instance.compute[*].hostname_label
}
output "public_ip" {
description = "The public IP address of the instances."
value = oci_core_instance.compute[*].public_ip
}
output "private_ip" {
description = "The private IP address of the instances."
value = oci_core_instance.compute[*].private_ip
}
# --- EOF ----------------------------------------------------------------------