outputs.tf 858 B

12345678910111213141516171819202122232425262728293031
  1. # Outputs for minimal GCP Cloud Run deployment
  2. output "service_url" {
  3. description = "URL of the Cloud Run service"
  4. value = google_cloud_run_v2_service.llama_service.uri
  5. }
  6. output "service_name" {
  7. description = "Name of the Cloud Run service"
  8. value = google_cloud_run_v2_service.llama_service.name
  9. }
  10. output "service_account_email" {
  11. description = "Email of the Cloud Run service account"
  12. value = google_service_account.cloud_run_sa.email
  13. }
  14. output "repository_url" {
  15. description = "URL of the Artifact Registry repository"
  16. value = "${var.region}-docker.pkg.dev/${var.project_id}/${google_artifact_registry_repository.llama_repository.repository_id}"
  17. }
  18. output "project_id" {
  19. description = "GCP project ID"
  20. value = var.project_id
  21. }
  22. output "region" {
  23. description = "GCP region"
  24. value = var.region
  25. }