outputs.tf 798 B

12345678910111213141516171819202122232425262728293031
  1. # Outputs for minimal GCP Vertex AI deployment
  2. output "project_id" {
  3. description = "GCP project ID"
  4. value = var.project_id
  5. }
  6. output "region" {
  7. description = "GCP region"
  8. value = var.region
  9. }
  10. output "service_account_email" {
  11. description = "Email of the Vertex AI service account"
  12. value = google_service_account.vertex_ai_sa.email
  13. }
  14. output "bucket_name" {
  15. description = "Name of the artifacts storage bucket"
  16. value = google_storage_bucket.vertex_artifacts.name
  17. }
  18. output "bucket_url" {
  19. description = "URL of the artifacts storage bucket"
  20. value = google_storage_bucket.vertex_artifacts.url
  21. }
  22. output "vertex_ai_region_endpoint" {
  23. description = "Vertex AI API regional endpoint"
  24. value = "https://${var.region}-aiplatform.googleapis.com"
  25. }