feat: provider v0.1.9 — namespace removed from resources, moved to provider block

This commit is contained in:
“Naeel”
2026-03-09 15:12:07 +04:00
parent 0aaeb47b3b
commit 17d32fcb39
23 changed files with 138 additions and 141 deletions
-2
View File
@@ -18,7 +18,6 @@ data "archive_file" "notes_list_zip" {
# Read-only функция в кластере.
# entrypoint = "notes_list.list_notes" → файл notes_list.py, функция list_notes().
resource "sless_function" "notes_list" {
namespace = "default"
name = "notes-list"
runtime = "python3.11"
entrypoint = "notes_list.list_notes"
@@ -36,7 +35,6 @@ resource "sless_function" "notes_list" {
# HTTP-триггер для read-only функции.
# Создаёт Ingress, URL доступен в outputs.tf.
resource "sless_trigger" "notes_list_http" {
namespace = "default"
name = "notes-list-http"
type = "http"
function = sless_function.notes_list.name