modules/gcve-private-cloud/outputs.tf (51 lines of code) (raw):
/**
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
output "gcve_tf_pc" {
description = "The private cloud resource"
value = google_vmwareengine_private_cloud.gcve_tf_pc
}
output "hcx" {
description = "Details about the HCX Manager appliance"
value = google_vmwareengine_private_cloud.gcve_tf_pc.hcx
}
output "nsx" {
description = "Details about the NSX Manager appliance"
value = google_vmwareengine_private_cloud.gcve_tf_pc.nsx
}
output "vcenter" {
description = "Details about the vCenter appliance"
value = google_vmwareengine_private_cloud.gcve_tf_pc.vcenter
}
output "id" {
description = "ID of the private cloud"
value = google_vmwareengine_private_cloud.gcve_tf_pc.id
}
output "management_cluster" {
description = "Details of the management cluster of the private cloud"
value = google_vmwareengine_private_cloud.gcve_tf_pc.management_cluster
}
output "network_config" {
description = "Details about the network configuration of the private cloud"
value = google_vmwareengine_private_cloud.gcve_tf_pc.network_config
}
output "state" {
description = "Details about the state of the private cloud"
value = google_vmwareengine_private_cloud.gcve_tf_pc.state
}
output "network" {
description = "Details about the vmware engine network"
value = var.create_vmware_engine_network ? google_vmwareengine_network.vmware_engine_network[0].id : data.google_vmwareengine_network.existing_vmware_engine_network[0].id
}