spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / examples / gateway / gcp / terraform / outputs.tf
34 lines · 1.2 KBRaw
1output "service_url" {
2 description = "Cloud Run service URL."
3 value = google_cloud_run_v2_service.gateway.uri
4}
5
6output "oauth_redirect_uri" {
7 description = "Register this exact URI on the Google OAuth client, and ensure gateway.yaml public_url matches the host."
8 value = "${google_cloud_run_v2_service.gateway.uri}/oauth/callback"
9}
10
11output "service_account_email" {
12 description = "Gateway runtime service account."
13 value = google_service_account.gateway.email
14}
15
16output "image" {
17 description = "Image the service runs (build/push this separately — see README)."
18 value = local.image
19}
20
21output "db_connection_name" {
22 description = "Cloud SQL instance connection name (project:region:instance)."
23 value = google_sql_database_instance.db.connection_name
24}
25
26output "db_private_ip" {
27 description = "Cloud SQL private IP."
28 value = google_sql_database_instance.db.private_ip_address
29}
30
31output "public_invoker_granted" {
32 description = "Whether the allUsers run.invoker binding was applied (false when invoker_iam_disabled handles public access instead, or on Domain-Restricted-Sharing orgs)."
33 value = length(google_cloud_run_v2_service_iam_member.public) > 0
34}