modules/file-system/managed-lustre/outputs.tf (39 lines of code) (raw):

/** * Copyright 2025 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 "network_storage" { description = "Describes a Managed Lustre instance." value = { server_ip = local.server_ip remote_mount = local.remote_mount local_mount = var.local_mount fs_type = local.fs_type mount_options = local.mount_options client_install_runner = local.install_managed_lustre_client_runner mount_runner = local.mount_runner } } output "install_managed_lustre_client" { description = "Script for installing Managed Lustre client" value = file("${path.module}/scripts/install-managed-lustre-client.sh") } output "lustre_id" { description = "An identifier for the resource with format `projects/{{project}}/locations/{{location}}/instances/{{name}}`" value = google_lustre_instance.lustre_instance.instance_id } output "capacity_gib" { description = "File share capacity in GiB." value = google_lustre_instance.lustre_instance.capacity_gib }