-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
70 lines (69 loc) · 1.71 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
output "services" {
value = [
"${format(
"%-24s (%s://%s:%s%s)",
kong_service.service-user.name,
kong_service.service-user.protocol,
kong_service.service-user.host,
kong_service.service-user.port,
kong_service.service-user.path
)}",
"${format(
"%-24s (%s://%s:%s%s)",
kong_service.service-todo.name,
kong_service.service-todo.protocol,
kong_service.service-todo.host,
kong_service.service-todo.port,
kong_service.service-todo.path
)}"
]
}
output "routes" {
value = [
"${formatlist(
"%-8s %s",
kong_route.route-register-user.methods,
kong_route.route-register-user.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-show-me.methods,
kong_route.route-show-me.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-logout-user.methods,
kong_route.route-logout-user.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-auth-local.methods,
kong_route.route-auth-local.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-create-todo.methods,
kong_route.route-create-todo.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-list-todos.methods,
kong_route.route-list-todos.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-show-todo.methods,
kong_route.route-show-todo.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-update-todo.methods,
kong_route.route-update-todo.paths.0
)}",
"${formatlist(
"%-8s %s",
kong_route.route-delete-todo.methods,
kong_route.route-delete-todo.paths.0
)}"
]
}