Skip to content

Commit

Permalink
export bastion SA email address as tf output from sigstore module
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway committed Aug 6, 2024
1 parent 634364a commit 6e539e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/gcp/modules/bastion/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ output "ip_address" {
description = "private IP address of bastion"
value = google_compute_instance.bastion.network_interface.0.network_ip
}

output "sa_email" {
value = google_service_account.bastion.email
}
5 changes: 5 additions & 0 deletions terraform/gcp/modules/sigstore/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ output "bastion_kubectl" {
description = "kubectl command using the local proxy once the bastion_ssh command is running"
value = "HTTPS_PROXY=socks5://localhost:8118 kubectl get pods --all-namespaces"
}

output "bastion_sa_email" {
description = "Email of the SA that the Bastion runs under."
value = module.bastion.sa_email
}

0 comments on commit 6e539e1

Please sign in to comment.