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:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user