Output docker_service consistently.
This commit is contained in:
parent
79a514c1ac
commit
7a75ea575d
7 changed files with 30 additions and 1 deletions
docker/service
products
apt-caching-proxy
nginx
pgbackweb
postgres
quassel
redis
|
@ -11,3 +11,7 @@ output "ports" {
|
|||
output "volumes" {
|
||||
value = docker_service.instance.task_spec[0].container_spec[0].mounts[*].source
|
||||
}
|
||||
|
||||
output "docker_service" {
|
||||
value = docker_service.instance
|
||||
}
|
3
products/apt-caching-proxy/outputs.tf
Normal file
3
products/apt-caching-proxy/outputs.tf
Normal file
|
@ -0,0 +1,3 @@
|
|||
output "docker_service" {
|
||||
value = module.ap.docker_service
|
||||
}
|
3
products/nginx/outputs.tf
Normal file
3
products/nginx/outputs.tf
Normal file
|
@ -0,0 +1,3 @@
|
|||
output "docker_service" {
|
||||
value = docker_service.nginx
|
||||
}
|
7
products/pgbackweb/outputs.tf
Normal file
7
products/pgbackweb/outputs.tf
Normal file
|
@ -0,0 +1,7 @@
|
|||
output "docker_service" {
|
||||
value = module.pgbackweb.docker_service
|
||||
}
|
||||
|
||||
output "postgres_service" {
|
||||
value = module.postgres.docker_service
|
||||
}
|
|
@ -13,3 +13,6 @@ output "service_name" {
|
|||
output "ports" {
|
||||
value = module.service.ports
|
||||
}
|
||||
output "docker_service" {
|
||||
value = module.service.docker_service
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
output "quassel" {
|
||||
output "configuration" {
|
||||
value = {
|
||||
database = {
|
||||
username = module.postgres.username
|
||||
|
@ -11,3 +11,9 @@ output "quassel" {
|
|||
}
|
||||
}
|
||||
}
|
||||
output "docker_service" {
|
||||
value = module.service
|
||||
}
|
||||
output "postgres_service" {
|
||||
value = module.postgres
|
||||
}
|
|
@ -7,3 +7,6 @@ output "service_name" {
|
|||
output "ports" {
|
||||
value = module.service.ports
|
||||
}
|
||||
output "docker_service" {
|
||||
value = module.service.docker_service
|
||||
}
|
Loading…
Reference in a new issue