Skip to content

Commit

Permalink
Hardcode gvisor, add svc account email output
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrancato committed Mar 11, 2021
1 parent 2f7d957 commit ec7650b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ resource "google_cloud_run_service" "default" {
annotations = {
"autoscaling.knative.dev/maxScale" = 1 # HA not Supported
"run.googleapis.com/vpc-access-connector" = var.vpc_connector != "" ? var.vpc_connector : null
# Hardcoded here after a change in the Cloud Run API response
"run.googleapis.com/sandbox" = "gvisor"
}
}
spec {
Expand Down Expand Up @@ -150,4 +152,8 @@ resource "google_cloud_run_service_iam_policy" "noauth" {

output "app_url" {
value = google_cloud_run_service.default.status[0].url
}
}

output "service_account_email" {
value = google_service_account.vault.email
}

0 comments on commit ec7650b

Please sign in to comment.