From 83c8eea61b9ac388e134eabe7685859be5ab037a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 9 Mar 2026 14:09:55 +0400 Subject: [PATCH] =?UTF-8?q?feat:=20outputs=20=E2=80=94=20=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D1=83=D1=81=20init-=D0=B4=D0=B6=D0=BE=D0=B1=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F=20=D0=B1=D0=B5=D0=B7?= =?UTF-8?q?=20kubectl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes-python/outputs.tf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/notes-python/outputs.tf b/notes-python/outputs.tf index f89c48b..4e7f6d3 100644 --- a/notes-python/outputs.tf +++ b/notes-python/outputs.tf @@ -21,3 +21,22 @@ output "notes_list_url" { value = sless_trigger.notes_list_http.url description = "Список всех записей (GET или POST)" } + +# Статус init-джобов — показывает результат инициализации БД. +# Если phase="Succeeded" — таблица и индекс созданы успешно. +# Если phase="Failed" — смотри message, исправь и увеличь run_id в init.tf. +output "db_init_table_status" { + value = { + phase = sless_job.notes_table_init.phase + message = sless_job.notes_table_init.message + } + description = "Статус джоба создания таблицы notes" +} + +output "db_init_index_status" { + value = { + phase = sless_job.notes_index_init.phase + message = sless_job.notes_index_init.message + } + description = "Статус джоба создания индекса" +}