26 lines
586 B
HCL
Executable File
26 lines
586 B
HCL
Executable File
output "vcn_id" {
|
|
description = "VCN OCID."
|
|
value = oci_core_vcn.this.id
|
|
}
|
|
|
|
output "private_subnet_id" {
|
|
description = "Private subnet OCID."
|
|
value = oci_core_subnet.private.id
|
|
}
|
|
|
|
output "public_subnet_id" {
|
|
description = "Public subnet OCID, when created."
|
|
value = try(oci_core_subnet.public[0].id, null)
|
|
}
|
|
|
|
output "app_nsg_id" {
|
|
description = "Application NSG OCID."
|
|
value = oci_core_network_security_group.app.id
|
|
}
|
|
|
|
output "database_nsg_id" {
|
|
description = "Database NSG OCID."
|
|
value = oci_core_network_security_group.database.id
|
|
}
|
|
|