-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
55 lines (44 loc) · 1.66 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
output "image_repo_url" {
value = data.google_container_registry_image.this.image_url
description = "string ||| Service container image url."
}
output "log_provider" {
value = "gcp"
description = "string ||| The log provider used for this service."
}
output "service_name" {
value = local.app_name
description = "string ||| The name of the kubernetes deployment for the app."
}
output "service_namespace" {
value = local.app_namespace
description = "string ||| The kubernetes namespace where the app resides."
}
output "image_pusher" {
value = {
email = try(google_service_account.image_pusher.email, "")
private_key = try(google_service_account_key.image_pusher.private_key, "")
}
description = "object({ email: string, private_key: string }) ||| A GCP service account that is allowed to push images."
sensitive = true
}
output "deployer" {
value = {
email = try(google_service_account.deployer.email, "")
private_key = try(google_service_account_key.deployer.private_key, "")
}
description = "object({ email: string, private_key: string }) ||| A GCP service account with explicit privilege to deploy this GKE service to its cluster."
sensitive = true
}
output "main_container_name" {
value = local.main_container_name
description = "string ||| The name of the container definition for the main service container"
}
output "private_urls" {
value = local.private_urls
description = "list(string) ||| A list of URLs only accessible inside the network"
}
output "public_urls" {
value = local.public_urls
description = "list(string) ||| A list of URLs accessible to the public"
}