Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
add pas_blobstore_gcp_service_account_key output
Browse files Browse the repository at this point in the history
[#155719761]

Signed-off-by: Michelle He <[email protected]>
  • Loading branch information
cwlbraa authored and michelleheh committed Mar 6, 2018
1 parent 46a95ac commit c8bfc47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ resource "google_service_account" "opsman_service_account" {
display_name = "${var.env_name} Ops Manager VM Service Account"
}

resource "google_service_account_key" "opsman_service_account_key" {
service_account_id = "${google_service_account.opsman_service_account.id}"
}

resource "google_project_iam_member" "opsman_iam_service_account_actor" {
count = "${var.create_iam_service_account_members}"
project = "${var.project}"
Expand Down
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "service_account_email" {
value = "${google_service_account.opsman_service_account.email}"
}

output "pas_blobstore_gcp_service_account_key" {
value = "${google_service_account_key.opsman_service_account_key.private_key}"
}

output "ops_manager_dns" {
value = "${replace(google_dns_record_set.ops-manager-dns.name, "/\\.$/", "")}"
}
Expand Down

0 comments on commit c8bfc47

Please sign in to comment.