fix: pg-query — filesha256(handler.py) вместо filemd5(handler.zip), версия провайдера 0.1.7

This commit is contained in:
“Naeel” 2026-03-09 08:56:19 +04:00
parent db3ca9870e
commit c958927e69

View File

@ -16,7 +16,7 @@ terraform {
required_providers { required_providers {
sless = { sless = {
source = "terra.k8c.ru/naeel/sless" source = "terra.k8c.ru/naeel/sless"
version = "~> 0.1.1" version = "~> 0.1.7"
} }
} }
} }
@ -41,7 +41,7 @@ resource "sless_function" "pg_query" {
} }
code_path = "${path.module}/handler.zip" code_path = "${path.module}/handler.zip"
code_hash = filemd5("${path.module}/handler.zip") code_hash = filesha256("${path.module}/handler.py")
} }
resource "sless_trigger" "pg_query_http" { resource "sless_trigger" "pg_query_http" {