fix: убрать UseStateForUnknown с image_ref, provider v0.1.5

This commit is contained in:
“Naeel”
2026-03-08 20:34:00 +04:00
parent b69f795eb1
commit 99ef17d62f
6 changed files with 10 additions and 7 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ resource "sless_function" "hello_http" {
timeout_sec = 30
code_path = data.archive_file.handler_http.output_path
code_hash = data.archive_file.handler_http.output_md5
# filesha256 исходного файла — надёжнее чем output_md5 zip:
# MD5 zip зависит от метаданных архива и может совпасть при разном содержимом
code_hash = filesha256("${path.module}/code/handler-http.js")
}
resource "sless_trigger" "hello_http" {