output "vm_instance_name" {
  description = "Name of the GCE VM instance"
  value       = google_compute_instance.prometheus_scraper.name
}

output "vm_instance_id" {
  description = "ID of the GCE VM instance"
  value       = google_compute_instance.prometheus_scraper.instance_id
}

output "static_ip_address" {
  description = "Static external IP address of the VM (for whitelisting)"
  value       = google_compute_address.prometheus_scraper_ip.address
}

output "gcs_bucket_name" {
  description = "Name of the GCS bucket storing Prometheus data"
  value       = google_storage_bucket.prometheus_data_bucket.name
}

output "vm_service_account_email" {
  description = "Email of the service account used by the VM"
  value       = google_service_account.prometheus_scraper_sa.email
}

output "scheduler_service_account_email" {
  description = "Email of the service account used by Cloud Scheduler"
  value       = google_service_account.scheduler_sa.email
}

output "start_scheduler_job_name" {
  description = "Name of the Cloud Scheduler job that starts the VM"
  value       = google_cloud_scheduler_job.start_vm.name
}

output "stop_scheduler_job_name" {
  description = "Name of the Cloud Scheduler job that stops the VM"
  value       = google_cloud_scheduler_job.stop_vm.name
}



