113 lines
4.1 KiB
Plaintext
113 lines
4.1 KiB
Plaintext
sless_function.hello_job: Refreshing state... [name=hello-job]
|
|
sless_function.hello_http: Refreshing state... [name=hello-http]
|
|
sless_job.hello_run: Refreshing state... [name=hello-run]
|
|
sless_trigger.hello_http: Refreshing state... [name=hello-http-trigger]
|
|
|
|
Terraform used the selected providers to generate the following execution
|
|
plan. Resource actions are indicated with the following symbols:
|
|
- destroy
|
|
|
|
Terraform will perform the following actions:
|
|
|
|
# sless_function.hello_http will be destroyed
|
|
- resource "sless_function" "hello_http" {
|
|
- build_timeout_sec = 300 -> null
|
|
- code_hash = "847def02d312614d511fab15b1c6fcf0ef883c564e79a5c52b0d25b917ebc130" -> null
|
|
- entrypoint = "handler-http.handle" -> null
|
|
- env_vars = {
|
|
- "GREETING" = "e2e-test"
|
|
} -> null
|
|
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-hello-http:b2c713740a8d" -> null
|
|
- memory_mb = 256 -> null
|
|
- name = "hello-http" -> null
|
|
- phase = "Ready" -> null
|
|
- runtime = "nodejs20" -> null
|
|
- source_dir = "./code" -> null
|
|
- timeout_sec = 30 -> null
|
|
}
|
|
|
|
# sless_function.hello_job will be destroyed
|
|
- resource "sless_function" "hello_job" {
|
|
- build_timeout_sec = 300 -> null
|
|
- code_hash = "847def02d312614d511fab15b1c6fcf0ef883c564e79a5c52b0d25b917ebc130" -> null
|
|
- entrypoint = "handler-job.handle" -> null
|
|
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-hello-job:572595dae5fb" -> null
|
|
- memory_mb = 128 -> null
|
|
- name = "hello-job" -> null
|
|
- phase = "Ready" -> null
|
|
- runtime = "nodejs20" -> null
|
|
- source_dir = "./code" -> null
|
|
- timeout_sec = 30 -> null
|
|
}
|
|
|
|
# sless_job.hello_run will be destroyed
|
|
- resource "sless_job" "hello_run" {
|
|
- completion_time = "2026-03-11T06:47:08Z" -> null
|
|
- event_json = jsonencode(
|
|
{
|
|
- numbers = [
|
|
- 100,
|
|
- 200,
|
|
- 300,
|
|
]
|
|
}
|
|
) -> null
|
|
- function = "hello-job" -> null
|
|
- message = jsonencode(
|
|
{
|
|
- avg = 200
|
|
- count = 3
|
|
- input = [
|
|
- 100,
|
|
- 200,
|
|
- 300,
|
|
]
|
|
- sum = 600
|
|
}
|
|
) -> null
|
|
- name = "hello-run" -> null
|
|
- phase = "Succeeded" -> null
|
|
- run_id = 9 -> null
|
|
- start_time = "2026-03-11T06:46:58Z" -> null
|
|
- wait_timeout_sec = 600 -> null
|
|
}
|
|
|
|
# sless_trigger.hello_http will be destroyed
|
|
- resource "sless_trigger" "hello_http" {
|
|
- active = true -> null
|
|
- enabled = true -> null
|
|
- function = "hello-http" -> null
|
|
- name = "hello-http-trigger" -> null
|
|
- type = "http" -> null
|
|
- url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/hello-http" -> null
|
|
}
|
|
|
|
Plan: 0 to add, 0 to change, 4 to destroy.
|
|
|
|
Changes to Outputs:
|
|
- job_completion_time = "2026-03-11T06:47:08Z" -> null
|
|
- job_message = jsonencode(
|
|
{
|
|
- avg = 200
|
|
- count = 3
|
|
- input = [
|
|
- 100,
|
|
- 200,
|
|
- 300,
|
|
]
|
|
- sum = 600
|
|
}
|
|
) -> null
|
|
- job_phase = "Succeeded" -> null
|
|
- trigger_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/hello-http" -> null
|
|
sless_trigger.hello_http: Destroying... [name=hello-http-trigger]
|
|
sless_job.hello_run: Destroying... [name=hello-run]
|
|
sless_job.hello_run: Destruction complete after 0s
|
|
sless_function.hello_job: Destroying... [name=hello-job]
|
|
sless_function.hello_job: Destruction complete after 0s
|
|
sless_trigger.hello_http: Destruction complete after 3s
|
|
sless_function.hello_http: Destroying... [name=hello-http]
|
|
sless_function.hello_http: Destruction complete after 0s
|
|
|
|
Destroy complete! Resources: 4 destroyed.
|