modules/gcve-monitoring/outputs.tf (30 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 "google_service_account" {
value = google_service_account.sa_gcve_monitoring
description = "The resource object of the service account for GCVE monitoring"
}
output "mig_monitoring_gcve" {
value = google_compute_region_instance_group_manager.mig_monitoring_gcve.name
description = "The name of the monitoring MIG"
sensitive = true
}
output "gcve_mon_dashboards" {
value = {
for k, v in google_monitoring_dashboard.gcve_mon_dashboards : k => v
}
description = "GCVE Monitoring Dashboards resources"
}