15 lines
427 B
Terraform
15 lines
427 B
Terraform
|
|
output "static_ip" {
|
||
|
|
value = google_compute_address.forgejo.address
|
||
|
|
description = "Point your domain's A record at this address"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "ssh_command" {
|
||
|
|
value = "gcloud compute ssh forgejo --zone=${var.zone} --tunnel-through-iap"
|
||
|
|
description = "Admin SSH via IAP tunnel"
|
||
|
|
}
|
||
|
|
|
||
|
|
output "backup_bucket" {
|
||
|
|
value = google_storage_bucket.backups.name
|
||
|
|
description = "GCS bucket holding nightly backups"
|
||
|
|
}
|