From dd03003ebc61309bcdf1451a068c0c3649c39317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 28 Jan 2024 09:56:20 +0100 Subject: [PATCH] Adding service definition output --- service/outputs.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/service/outputs.tf b/service/outputs.tf index bb20ad6..4b1fba8 100644 --- a/service/outputs.tf +++ b/service/outputs.tf @@ -1,3 +1,11 @@ output "name" { value = "${var.app_slug}" } +output "default_definition" { + value = = { + "name" = "${var.app_slug}" + "port" = { + "number" = var.ports[0] + } + } +} \ No newline at end of file