fix: откат 409-fallback из клиента провайдера (provider v0.1.6 не опубликован с изменениями)

- terraform/provider/internal/client/client.go: откат 409 fallback для
  CreateFunction, CreateTrigger, CreateJob — import не нужен в данном провайдере,
  409 должен быть ошибкой
- examples/hello-node/main.tf: версия провайдера ~> 0.1.6 (опубликована
  без изменений клиента — только исходная версия кода)
- examples/hello-node/job.tf: run_id=9, numbers=[100,200,300]

Тесты пройдены: plan(no-changes), state-rm+apply, code update, run_id++, destroy+apply
This commit is contained in:
“Naeel”
2026-03-09 08:17:17 +04:00
parent f8fe3835a4
commit c0fe63b3d3
6 changed files with 215 additions and 5 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ resource "sless_job" "hello_run" {
namespace = "default"
name = "hello-run"
function = sless_function.hello_job.name
event_json = jsonencode({ numbers = [1, 2, 3, 4, 5] })
event_json = jsonencode({ numbers = [100, 200, 300] })
wait_timeout_sec = 600
run_id = 7
run_id = 9
}
output "job_phase" {