outputs.tf (39 lines of code) (raw):

/** * Copyright 2021 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 "instance_ip_addr" { value = google_compute_instance.appliance.network_interface[0].network_ip description = "The private IP address of the backup/recovery appliance." } output "ba_randomised_name" { value = local.ba_randomised_name description = "The randomised name of backup/recovery appliance" } output "ba_service_account" { value = local.ba_service_account description = "The service account used with the backup/recovery appliance." } output "zone" { value = google_compute_instance.appliance.zone description = "Zone where the backup/recovery appliance is deployed." } output "ba_name" { value = google_compute_instance.appliance.name description = "Name of the backup/recovery appliance provided as input." } output "ba_project_id" { value = var.ba_project_id description = "Project where backup/recovery appliance is deployed." }