Skip to content

Commit 1c7fda7

Browse files
committed
Expose service_account output in examples and tests
1 parent 9012c79 commit 1c7fda7

File tree

9 files changed

+45
-0
lines changed

9 files changed

+45
-0
lines changed

examples/deploy_service/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/node_pool/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/shared_vpc/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/simple_regional/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/simple_regional_private/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/simple_zonal/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/simple_zonal_private/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

examples/stub_domains/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ output "client_token" {
2727
output "ca_certificate" {
2828
value = "${module.gke.ca_certificate}"
2929
}
30+
31+
output "service_account" {
32+
description = "The service account to default running nodes as if not overridden in `node_pools`."
33+
value = "${module.gke.service_account}"
34+
}

test/fixtures/shared/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,8 @@ output "ca_certificate" {
7777
description = "The cluster CA certificate"
7878
value = "${module.example.ca_certificate}"
7979
}
80+
81+
output "service_account" {
82+
description = "The service account to default running nodes as if not overridden in `node_pools`."
83+
value = "${module.example.service_account}"
84+
}

0 commit comments

Comments
 (0)