Skip to content

Commit

Permalink
export GKE service account email from sigstore module (#1361)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway authored Nov 27, 2024
1 parent 0f1340d commit 80faefe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/gcp/modules/sigstore/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ output "cluster_ca_certificate" {
value = module.gke-cluster.cluster_ca_certificate
}

output "cluster_sa_email" {
description = "Cluster service account email address"
value = module.gke-cluster.gke_sa_email
}

output "get_credentials" {
description = "Gcloud get-credentials command"
value = format("gcloud container clusters get-credentials --project %s --region %s --internal-ip %s", var.project_id, var.region, module.gke-cluster.cluster_name)
Expand Down

0 comments on commit 80faefe

Please sign in to comment.