Skip to content

Commit

Permalink
fix: Update the format of "id" output in the "simple-sa" module
Browse files Browse the repository at this point in the history
Make the output "id" returning just a service account ID instead of
the map with ID and an e-mail.
There is already a separate output for the e-mail, called "email".
  • Loading branch information
legal90 committed Aug 5, 2024
1 parent ae592d2 commit 08164b5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/simple-sa/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ output "iam_email" {
}

output "id" {
description = "Service account id and email"
value = {
id = google_service_account.sa.account_id,
email = google_service_account.sa.email
}
description = "Service account id in the format 'projects/{{project}}/serviceAccounts/{{email}}'"
value = google_service_account.sa.account_id
}

output "env_vars" {
Expand Down

0 comments on commit 08164b5

Please sign in to comment.