feat: provider v0.1.9 — namespace removed from resources, moved to provider block
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user