feat: provider v0.1.9 — namespace removed from resources, moved to provider block
This commit is contained in:
@@ -14,7 +14,6 @@ data "archive_file" "handler_http" {
|
||||
}
|
||||
|
||||
resource "sless_function" "hello_http" {
|
||||
namespace = "default"
|
||||
name = "hello-http"
|
||||
runtime = "nodejs20"
|
||||
entrypoint = "handler-http.handle"
|
||||
@@ -28,7 +27,6 @@ resource "sless_function" "hello_http" {
|
||||
}
|
||||
|
||||
resource "sless_trigger" "hello_http" {
|
||||
namespace = "default"
|
||||
name = "hello-http-trigger"
|
||||
type = "http"
|
||||
function = sless_function.hello_http.name
|
||||
|
||||
Reference in New Issue
Block a user