Skip to content

Commit

Permalink
GCS terraform: output the writer service account
Browse files Browse the repository at this point in the history
Any code using this will need the name of the writer service account in order to run the writing code as the service account.
  • Loading branch information
mhutchinson committed Aug 14, 2024
1 parent 50f0714 commit a8250e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployment/modules/gcs/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ output "log_spanner" {
description = "Log Spanner database"
value = google_spanner_database.log_db
}

output "service_account_name" {
description = "Name of the service account with write permission for storage"
value = google_service_account.log_writer.member
}

0 comments on commit a8250e1

Please sign in to comment.