chore: gitignore logs dirs
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
sless_function.hello_job: Refreshing state... [name=hello-job]
|
|
||||||
sless_function.hello_http: Refreshing state... [name=hello-http]
|
|
||||||
sless_trigger.hello_http: Refreshing state... [name=hello-http-trigger]
|
|
||||||
sless_job.hello_run: Refreshing state... [name=hello-run]
|
|
||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
~ update in-place
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.hello_http will be updated in-place
|
|
||||||
~ resource "sless_function" "hello_http" {
|
|
||||||
~ build_timeout_sec = 300 -> (known after apply)
|
|
||||||
~ code_hash = "847def02d312614d511fab15b1c6fcf0ef883c564e79a5c52b0d25b917ebc130" -> (known after apply)
|
|
||||||
+ env_vars = {
|
|
||||||
+ "GREETING" = "e2e-test"
|
|
||||||
}
|
|
||||||
~ image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-hello-http:b2c713740a8d" -> (known after apply)
|
|
||||||
~ memory_mb = 128 -> 256
|
|
||||||
name = "hello-http"
|
|
||||||
# (5 unchanged attributes hidden)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 0 to add, 1 to change, 0 to destroy.
|
|
||||||
sless_function.hello_http: Modifying... [name=hello-http]
|
|
||||||
sless_function.hello_http: Modifications complete after 0s [name=hello-http]
|
|
||||||
|
|
||||||
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
job_completion_time = "2026-03-11T06:47:08Z"
|
|
||||||
job_message = "{\"input\":[100,200,300],\"sum\":600,\"avg\":200,\"count\":3}"
|
|
||||||
job_phase = "Succeeded"
|
|
||||||
trigger_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/hello-http"
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
+ create
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.hello_http will be created
|
|
||||||
+ resource "sless_function" "hello_http" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "handler-http.handle"
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 128
|
|
||||||
+ name = "hello-http"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "nodejs20"
|
|
||||||
+ source_dir = "./code"
|
|
||||||
+ timeout_sec = 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_function.hello_job will be created
|
|
||||||
+ resource "sless_function" "hello_job" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "handler-job.handle"
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 128
|
|
||||||
+ name = "hello-job"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "nodejs20"
|
|
||||||
+ source_dir = "./code"
|
|
||||||
+ timeout_sec = 30
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_job.hello_run will be created
|
|
||||||
+ resource "sless_job" "hello_run" {
|
|
||||||
+ completion_time = (known after apply)
|
|
||||||
+ event_json = jsonencode(
|
|
||||||
{
|
|
||||||
+ numbers = [
|
|
||||||
+ 100,
|
|
||||||
+ 200,
|
|
||||||
+ 300,
|
|
||||||
]
|
|
||||||
}
|
|
||||||
)
|
|
||||||
+ function = "hello-job"
|
|
||||||
+ message = (known after apply)
|
|
||||||
+ name = "hello-run"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ run_id = 9
|
|
||||||
+ start_time = (known after apply)
|
|
||||||
+ wait_timeout_sec = 600
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_trigger.hello_http will be created
|
|
||||||
+ resource "sless_trigger" "hello_http" {
|
|
||||||
+ active = (known after apply)
|
|
||||||
+ enabled = true
|
|
||||||
+ function = "hello-http"
|
|
||||||
+ name = "hello-http-trigger"
|
|
||||||
+ type = "http"
|
|
||||||
+ url = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 4 to add, 0 to change, 0 to destroy.
|
|
||||||
|
|
||||||
Changes to Outputs:
|
|
||||||
+ job_completion_time = (known after apply)
|
|
||||||
+ job_message = (known after apply)
|
|
||||||
+ job_phase = (known after apply)
|
|
||||||
+ trigger_url = (known after apply)
|
|
||||||
sless_function.hello_job: Creating...
|
|
||||||
sless_function.hello_http: Creating...
|
|
||||||
sless_function.hello_http: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.hello_job: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.hello_http: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.hello_job: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.hello_http: Creation complete after 21s [name=hello-http]
|
|
||||||
sless_function.hello_job: Creation complete after 21s [name=hello-job]
|
|
||||||
sless_trigger.hello_http: Creating...
|
|
||||||
sless_job.hello_run: Creating...
|
|
||||||
sless_trigger.hello_http: Creation complete after 2s [name=hello-http-trigger]
|
|
||||||
sless_job.hello_run: Still creating... [00m10s elapsed]
|
|
||||||
sless_job.hello_run: Creation complete after 10s [name=hello-run]
|
|
||||||
|
|
||||||
Apply complete! Resources: 4 added, 0 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
job_completion_time = "2026-03-11T06:47:08Z"
|
|
||||||
job_message = "{\"input\":[100,200,300],\"sum\":600,\"avg\":200,\"count\":3}"
|
|
||||||
job_phase = "Succeeded"
|
|
||||||
trigger_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/hello-http"
|
|
||||||
@@ -1,112 +0,0 @@
|
|||||||
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.
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
Initializing the backend...
|
|
||||||
Initializing provider plugins...
|
|
||||||
- Finding terra.k8c.ru/naeel/sless versions matching "~> 0.1.13"...
|
|
||||||
- Installing terra.k8c.ru/naeel/sless v0.1.13...
|
|
||||||
- Installed terra.k8c.ru/naeel/sless v0.1.13 (self-signed, key ID CB3A0DF161ECC416)
|
|
||||||
Partner and community providers are signed by their developers.
|
|
||||||
If you'd like to know more about provider signing, you can read about it here:
|
|
||||||
https://developer.hashicorp.com/terraform/cli/plugins/signing
|
|
||||||
Terraform has created a lock file .terraform.lock.hcl to record the provider
|
|
||||||
selections it made above. Include this file in your version control repository
|
|
||||||
so that Terraform can guarantee to make the same selections by default when
|
|
||||||
you run "terraform init" in the future.
|
|
||||||
|
|
||||||
Terraform has been successfully initialized!
|
|
||||||
|
|
||||||
You may now begin working with Terraform. Try running "terraform plan" to see
|
|
||||||
any changes that are required for your infrastructure. All Terraform commands
|
|
||||||
should now work.
|
|
||||||
|
|
||||||
If you ever set or change modules or backend configuration for Terraform,
|
|
||||||
rerun this command to reinitialize your working directory. If you forget, other
|
|
||||||
commands will detect it and remind you to do so if necessary.
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
sless_function.time_getter: Refreshing state... [name=simple-node-time-getter]
|
|
||||||
sless_job.run_getter: Refreshing state... [name=simple-node-getter-run]
|
|
||||||
sless_function.time_display: Refreshing state... [name=simple-node-time-display]
|
|
||||||
sless_trigger.display_http: Refreshing state... [name=simple-node-display-http]
|
|
||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
~ update in-place
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.time_display will be updated in-place
|
|
||||||
~ resource "sless_function" "time_display" {
|
|
||||||
~ build_timeout_sec = 300 -> (known after apply)
|
|
||||||
~ code_hash = "cf78d23403217d9ca0871205966de6b9041e0187b8bb5bbf6b1502dd38951e80" -> (known after apply)
|
|
||||||
~ image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-node-time-display:96fbfb0d6a99" -> (known after apply)
|
|
||||||
~ memory_mb = 64 -> 96
|
|
||||||
name = "simple-node-time-display"
|
|
||||||
~ timeout_sec = 30 -> (known after apply)
|
|
||||||
# (5 unchanged attributes hidden)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 0 to add, 1 to change, 0 to destroy.
|
|
||||||
sless_function.time_display: Modifying... [name=simple-node-time-display]
|
|
||||||
sless_function.time_display: Modifications complete after 0s [name=simple-node-time-display]
|
|
||||||
|
|
||||||
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-node-time-display"
|
|
||||||
job_result = "{\"time\":\"2026-03-11T06:47:47.229Z\"}"
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
+ create
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.time_display will be created
|
|
||||||
+ resource "sless_function" "time_display" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "time_display.showTime"
|
|
||||||
+ env_vars = {
|
|
||||||
+ "JOB_TIME" = (known after apply)
|
|
||||||
}
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 64
|
|
||||||
+ name = "simple-node-time-display"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "nodejs20"
|
|
||||||
+ source_dir = "./code/time_display"
|
|
||||||
+ timeout_sec = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_function.time_getter will be created
|
|
||||||
+ resource "sless_function" "time_getter" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "time_getter.getTime"
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 64
|
|
||||||
+ name = "simple-node-time-getter"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "nodejs20"
|
|
||||||
+ source_dir = "./code/time_getter"
|
|
||||||
+ timeout_sec = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_job.run_getter will be created
|
|
||||||
+ resource "sless_job" "run_getter" {
|
|
||||||
+ completion_time = (known after apply)
|
|
||||||
+ event_json = jsonencode({})
|
|
||||||
+ function = "simple-node-time-getter"
|
|
||||||
+ message = (known after apply)
|
|
||||||
+ name = "simple-node-getter-run"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ run_id = 1
|
|
||||||
+ start_time = (known after apply)
|
|
||||||
+ wait_timeout_sec = 120
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_trigger.display_http will be created
|
|
||||||
+ resource "sless_trigger" "display_http" {
|
|
||||||
+ active = (known after apply)
|
|
||||||
+ enabled = true
|
|
||||||
+ function = "simple-node-time-display"
|
|
||||||
+ name = "simple-node-display-http"
|
|
||||||
+ type = "http"
|
|
||||||
+ url = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 4 to add, 0 to change, 0 to destroy.
|
|
||||||
|
|
||||||
Changes to Outputs:
|
|
||||||
+ display_url = (known after apply)
|
|
||||||
+ job_result = (known after apply)
|
|
||||||
sless_function.time_getter: Creating...
|
|
||||||
sless_function.time_getter: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.time_getter: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.time_getter: Creation complete after 20s [name=simple-node-time-getter]
|
|
||||||
sless_job.run_getter: Creating...
|
|
||||||
sless_job.run_getter: Still creating... [00m10s elapsed]
|
|
||||||
sless_job.run_getter: Creation complete after 10s [name=simple-node-getter-run]
|
|
||||||
sless_function.time_display: Creating...
|
|
||||||
sless_function.time_display: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.time_display: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.time_display: Creation complete after 21s [name=simple-node-time-display]
|
|
||||||
sless_trigger.display_http: Creating...
|
|
||||||
sless_trigger.display_http: Creation complete after 2s [name=simple-node-display-http]
|
|
||||||
|
|
||||||
Apply complete! Resources: 4 added, 0 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-node-time-display"
|
|
||||||
job_result = "{\"time\":\"2026-03-11T06:47:47.229Z\"}"
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
sless_function.time_getter: Refreshing state... [name=simple-node-time-getter]
|
|
||||||
sless_job.run_getter: Refreshing state... [name=simple-node-getter-run]
|
|
||||||
sless_function.time_display: Refreshing state... [name=simple-node-time-display]
|
|
||||||
sless_trigger.display_http: Refreshing state... [name=simple-node-display-http]
|
|
||||||
|
|
||||||
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.time_display will be destroyed
|
|
||||||
- resource "sless_function" "time_display" {
|
|
||||||
- build_timeout_sec = 300 -> null
|
|
||||||
- code_hash = "cf78d23403217d9ca0871205966de6b9041e0187b8bb5bbf6b1502dd38951e80" -> null
|
|
||||||
- entrypoint = "time_display.showTime" -> null
|
|
||||||
- env_vars = {
|
|
||||||
- "JOB_TIME" = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:47:47.229Z"
|
|
||||||
}
|
|
||||||
)
|
|
||||||
} -> null
|
|
||||||
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-node-time-display:96fbfb0d6a99" -> null
|
|
||||||
- memory_mb = 96 -> null
|
|
||||||
- name = "simple-node-time-display" -> null
|
|
||||||
- phase = "Ready" -> null
|
|
||||||
- runtime = "nodejs20" -> null
|
|
||||||
- source_dir = "./code/time_display" -> null
|
|
||||||
- timeout_sec = 30 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_function.time_getter will be destroyed
|
|
||||||
- resource "sless_function" "time_getter" {
|
|
||||||
- build_timeout_sec = 300 -> null
|
|
||||||
- code_hash = "bcbba3d63dcd3f1cce4ba48e8b2208bd398e6864e51b9c72887d027cc1385210" -> null
|
|
||||||
- entrypoint = "time_getter.getTime" -> null
|
|
||||||
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-node-time-getter:d933956041b2" -> null
|
|
||||||
- memory_mb = 64 -> null
|
|
||||||
- name = "simple-node-time-getter" -> null
|
|
||||||
- phase = "Ready" -> null
|
|
||||||
- runtime = "nodejs20" -> null
|
|
||||||
- source_dir = "./code/time_getter" -> null
|
|
||||||
- timeout_sec = 30 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_job.run_getter will be destroyed
|
|
||||||
- resource "sless_job" "run_getter" {
|
|
||||||
- completion_time = "2026-03-11T06:47:53Z" -> null
|
|
||||||
- event_json = jsonencode({})
|
|
||||||
- function = "simple-node-time-getter" -> null
|
|
||||||
- message = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:47:47.229Z"
|
|
||||||
}
|
|
||||||
) -> null
|
|
||||||
- name = "simple-node-getter-run" -> null
|
|
||||||
- phase = "Succeeded" -> null
|
|
||||||
- run_id = 1 -> null
|
|
||||||
- start_time = "2026-03-11T06:47:43Z" -> null
|
|
||||||
- wait_timeout_sec = 120 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_trigger.display_http will be destroyed
|
|
||||||
- resource "sless_trigger" "display_http" {
|
|
||||||
- active = true -> null
|
|
||||||
- enabled = true -> null
|
|
||||||
- function = "simple-node-time-display" -> null
|
|
||||||
- name = "simple-node-display-http" -> null
|
|
||||||
- type = "http" -> null
|
|
||||||
- url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-node-time-display" -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 0 to add, 0 to change, 4 to destroy.
|
|
||||||
|
|
||||||
Changes to Outputs:
|
|
||||||
- display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-node-time-display" -> null
|
|
||||||
- job_result = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:47:47.229Z"
|
|
||||||
}
|
|
||||||
) -> null
|
|
||||||
sless_trigger.display_http: Destroying... [name=simple-node-display-http]
|
|
||||||
sless_trigger.display_http: Destruction complete after 3s
|
|
||||||
sless_function.time_display: Destroying... [name=simple-node-time-display]
|
|
||||||
sless_function.time_display: Destruction complete after 0s
|
|
||||||
sless_job.run_getter: Destroying... [name=simple-node-getter-run]
|
|
||||||
sless_job.run_getter: Destruction complete after 0s
|
|
||||||
sless_function.time_getter: Destroying... [name=simple-node-time-getter]
|
|
||||||
sless_function.time_getter: Destruction complete after 0s
|
|
||||||
|
|
||||||
Destroy complete! Resources: 4 destroyed.
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
Initializing the backend...
|
|
||||||
Initializing provider plugins...
|
|
||||||
- Finding terra.k8c.ru/naeel/sless versions matching "~> 0.1.13"...
|
|
||||||
- Installing terra.k8c.ru/naeel/sless v0.1.13...
|
|
||||||
- Installed terra.k8c.ru/naeel/sless v0.1.13 (self-signed, key ID CB3A0DF161ECC416)
|
|
||||||
Partner and community providers are signed by their developers.
|
|
||||||
If you'd like to know more about provider signing, you can read about it here:
|
|
||||||
https://developer.hashicorp.com/terraform/cli/plugins/signing
|
|
||||||
Terraform has created a lock file .terraform.lock.hcl to record the provider
|
|
||||||
selections it made above. Include this file in your version control repository
|
|
||||||
so that Terraform can guarantee to make the same selections by default when
|
|
||||||
you run "terraform init" in the future.
|
|
||||||
|
|
||||||
Terraform has been successfully initialized!
|
|
||||||
|
|
||||||
You may now begin working with Terraform. Try running "terraform plan" to see
|
|
||||||
any changes that are required for your infrastructure. All Terraform commands
|
|
||||||
should now work.
|
|
||||||
|
|
||||||
If you ever set or change modules or backend configuration for Terraform,
|
|
||||||
rerun this command to reinitialize your working directory. If you forget, other
|
|
||||||
commands will detect it and remind you to do so if necessary.
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
sless_function.time_getter: Refreshing state... [name=simple-py-time-getter]
|
|
||||||
sless_job.run_getter: Refreshing state... [name=simple-py-getter-run]
|
|
||||||
sless_function.time_display: Refreshing state... [name=simple-py-time-display]
|
|
||||||
sless_trigger.display_http: Refreshing state... [name=simple-py-display-http]
|
|
||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
~ update in-place
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.time_display will be updated in-place
|
|
||||||
~ resource "sless_function" "time_display" {
|
|
||||||
~ build_timeout_sec = 300 -> (known after apply)
|
|
||||||
~ code_hash = "394881701022565dcc3e786917b541b2ff4763b1d36adb80e0110e17115a3d88" -> (known after apply)
|
|
||||||
~ image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-py-time-display:6f9aecbf3839" -> (known after apply)
|
|
||||||
~ memory_mb = 64 -> 96
|
|
||||||
name = "simple-py-time-display"
|
|
||||||
~ timeout_sec = 30 -> (known after apply)
|
|
||||||
# (5 unchanged attributes hidden)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 0 to add, 1 to change, 0 to destroy.
|
|
||||||
sless_function.time_display: Modifying... [name=simple-py-time-display]
|
|
||||||
sless_function.time_display: Modifications complete after 0s [name=simple-py-time-display]
|
|
||||||
|
|
||||||
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-py-time-display"
|
|
||||||
job_result = "{\"time\": \"2026-03-11T06:45:01.234537+00:00\"}"
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
|
|
||||||
Terraform used the selected providers to generate the following execution
|
|
||||||
plan. Resource actions are indicated with the following symbols:
|
|
||||||
+ create
|
|
||||||
|
|
||||||
Terraform will perform the following actions:
|
|
||||||
|
|
||||||
# sless_function.time_display will be created
|
|
||||||
+ resource "sless_function" "time_display" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "time_display.show_time"
|
|
||||||
+ env_vars = {
|
|
||||||
+ "JOB_TIME" = (known after apply)
|
|
||||||
}
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 64
|
|
||||||
+ name = "simple-py-time-display"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "python3.11"
|
|
||||||
+ source_dir = "./code/time_display"
|
|
||||||
+ timeout_sec = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_function.time_getter will be created
|
|
||||||
+ resource "sless_function" "time_getter" {
|
|
||||||
+ build_timeout_sec = (known after apply)
|
|
||||||
+ code_hash = (known after apply)
|
|
||||||
+ entrypoint = "time_getter.get_time"
|
|
||||||
+ image_ref = (known after apply)
|
|
||||||
+ memory_mb = 64
|
|
||||||
+ name = "simple-py-time-getter"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ runtime = "python3.11"
|
|
||||||
+ source_dir = "./code/time_getter"
|
|
||||||
+ timeout_sec = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_job.run_getter will be created
|
|
||||||
+ resource "sless_job" "run_getter" {
|
|
||||||
+ completion_time = (known after apply)
|
|
||||||
+ event_json = jsonencode({})
|
|
||||||
+ function = "simple-py-time-getter"
|
|
||||||
+ message = (known after apply)
|
|
||||||
+ name = "simple-py-getter-run"
|
|
||||||
+ phase = (known after apply)
|
|
||||||
+ run_id = 1
|
|
||||||
+ start_time = (known after apply)
|
|
||||||
+ wait_timeout_sec = 120
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_trigger.display_http will be created
|
|
||||||
+ resource "sless_trigger" "display_http" {
|
|
||||||
+ active = (known after apply)
|
|
||||||
+ enabled = true
|
|
||||||
+ function = "simple-py-time-display"
|
|
||||||
+ name = "simple-py-display-http"
|
|
||||||
+ type = "http"
|
|
||||||
+ url = (known after apply)
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 4 to add, 0 to change, 0 to destroy.
|
|
||||||
|
|
||||||
Changes to Outputs:
|
|
||||||
+ display_url = (known after apply)
|
|
||||||
+ job_result = (known after apply)
|
|
||||||
sless_function.time_getter: Creating...
|
|
||||||
sless_function.time_getter: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.time_getter: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.time_getter: Creation complete after 20s [name=simple-py-time-getter]
|
|
||||||
sless_job.run_getter: Creating...
|
|
||||||
sless_job.run_getter: Still creating... [00m10s elapsed]
|
|
||||||
sless_job.run_getter: Creation complete after 10s [name=simple-py-getter-run]
|
|
||||||
sless_function.time_display: Creating...
|
|
||||||
sless_function.time_display: Still creating... [00m10s elapsed]
|
|
||||||
sless_function.time_display: Still creating... [00m20s elapsed]
|
|
||||||
sless_function.time_display: Creation complete after 21s [name=simple-py-time-display]
|
|
||||||
sless_trigger.display_http: Creating...
|
|
||||||
sless_trigger.display_http: Creation complete after 2s [name=simple-py-display-http]
|
|
||||||
|
|
||||||
Apply complete! Resources: 4 added, 0 changed, 0 destroyed.
|
|
||||||
|
|
||||||
Outputs:
|
|
||||||
|
|
||||||
display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-py-time-display"
|
|
||||||
job_result = "{\"time\": \"2026-03-11T06:45:01.234537+00:00\"}"
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
sless_function.time_getter: Refreshing state... [name=simple-py-time-getter]
|
|
||||||
sless_job.run_getter: Refreshing state... [name=simple-py-getter-run]
|
|
||||||
sless_function.time_display: Refreshing state... [name=simple-py-time-display]
|
|
||||||
sless_trigger.display_http: Refreshing state... [name=simple-py-display-http]
|
|
||||||
|
|
||||||
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.time_display will be destroyed
|
|
||||||
- resource "sless_function" "time_display" {
|
|
||||||
- build_timeout_sec = 300 -> null
|
|
||||||
- code_hash = "394881701022565dcc3e786917b541b2ff4763b1d36adb80e0110e17115a3d88" -> null
|
|
||||||
- entrypoint = "time_display.show_time" -> null
|
|
||||||
- env_vars = {
|
|
||||||
- "JOB_TIME" = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:45:01.234537+00:00"
|
|
||||||
}
|
|
||||||
)
|
|
||||||
} -> null
|
|
||||||
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-py-time-display:6f9aecbf3839" -> null
|
|
||||||
- memory_mb = 96 -> null
|
|
||||||
- name = "simple-py-time-display" -> null
|
|
||||||
- phase = "Ready" -> null
|
|
||||||
- runtime = "python3.11" -> null
|
|
||||||
- source_dir = "./code/time_display" -> null
|
|
||||||
- timeout_sec = 30 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_function.time_getter will be destroyed
|
|
||||||
- resource "sless_function" "time_getter" {
|
|
||||||
- build_timeout_sec = 300 -> null
|
|
||||||
- code_hash = "5a15834dfe9de935f27cd54b2e851b738e63a17aec7aca938c2358b026feeaaa" -> null
|
|
||||||
- entrypoint = "time_getter.get_time" -> null
|
|
||||||
- image_ref = "naeel/sless-sless-cdd874dfa31ba6ca-simple-py-time-getter:cc24266fe22e" -> null
|
|
||||||
- memory_mb = 64 -> null
|
|
||||||
- name = "simple-py-time-getter" -> null
|
|
||||||
- phase = "Ready" -> null
|
|
||||||
- runtime = "python3.11" -> null
|
|
||||||
- source_dir = "./code/time_getter" -> null
|
|
||||||
- timeout_sec = 30 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_job.run_getter will be destroyed
|
|
||||||
- resource "sless_job" "run_getter" {
|
|
||||||
- completion_time = "2026-03-11T06:45:07Z" -> null
|
|
||||||
- event_json = jsonencode({})
|
|
||||||
- function = "simple-py-time-getter" -> null
|
|
||||||
- message = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:45:01.234537+00:00"
|
|
||||||
}
|
|
||||||
) -> null
|
|
||||||
- name = "simple-py-getter-run" -> null
|
|
||||||
- phase = "Succeeded" -> null
|
|
||||||
- run_id = 1 -> null
|
|
||||||
- start_time = "2026-03-11T06:44:57Z" -> null
|
|
||||||
- wait_timeout_sec = 120 -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
# sless_trigger.display_http will be destroyed
|
|
||||||
- resource "sless_trigger" "display_http" {
|
|
||||||
- active = true -> null
|
|
||||||
- enabled = true -> null
|
|
||||||
- function = "simple-py-time-display" -> null
|
|
||||||
- name = "simple-py-display-http" -> null
|
|
||||||
- type = "http" -> null
|
|
||||||
- url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-py-time-display" -> null
|
|
||||||
}
|
|
||||||
|
|
||||||
Plan: 0 to add, 0 to change, 4 to destroy.
|
|
||||||
|
|
||||||
Changes to Outputs:
|
|
||||||
- display_url = "https://sless-api.kube5s.ru/fn/sless-cdd874dfa31ba6ca/simple-py-time-display" -> null
|
|
||||||
- job_result = jsonencode(
|
|
||||||
{
|
|
||||||
- time = "2026-03-11T06:45:01.234537+00:00"
|
|
||||||
}
|
|
||||||
) -> null
|
|
||||||
sless_trigger.display_http: Destroying... [name=simple-py-display-http]
|
|
||||||
sless_trigger.display_http: Destruction complete after 3s
|
|
||||||
sless_function.time_display: Destroying... [name=simple-py-time-display]
|
|
||||||
sless_function.time_display: Destruction complete after 0s
|
|
||||||
sless_job.run_getter: Destroying... [name=simple-py-getter-run]
|
|
||||||
sless_job.run_getter: Destruction complete after 0s
|
|
||||||
sless_function.time_getter: Destroying... [name=simple-py-time-getter]
|
|
||||||
sless_function.time_getter: Destruction complete after 0s
|
|
||||||
|
|
||||||
Destroy complete! Resources: 4 destroyed.
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
Initializing the backend...
|
|
||||||
Initializing provider plugins...
|
|
||||||
- Finding terra.k8c.ru/naeel/sless versions matching "~> 0.1.13"...
|
|
||||||
- Installing terra.k8c.ru/naeel/sless v0.1.13...
|
|
||||||
- Installed terra.k8c.ru/naeel/sless v0.1.13 (self-signed, key ID CB3A0DF161ECC416)
|
|
||||||
Partner and community providers are signed by their developers.
|
|
||||||
If you'd like to know more about provider signing, you can read about it here:
|
|
||||||
https://developer.hashicorp.com/terraform/cli/plugins/signing
|
|
||||||
Terraform has created a lock file .terraform.lock.hcl to record the provider
|
|
||||||
selections it made above. Include this file in your version control repository
|
|
||||||
so that Terraform can guarantee to make the same selections by default when
|
|
||||||
you run "terraform init" in the future.
|
|
||||||
|
|
||||||
Terraform has been successfully initialized!
|
|
||||||
|
|
||||||
You may now begin working with Terraform. Try running "terraform plan" to see
|
|
||||||
any changes that are required for your infrastructure. All Terraform commands
|
|
||||||
should now work.
|
|
||||||
|
|
||||||
If you ever set or change modules or backend configuration for Terraform,
|
|
||||||
rerun this command to reinitialize your working directory. If you forget, other
|
|
||||||
commands will detect it and remind you to do so if necessary.
|
|
||||||
@@ -43,3 +43,5 @@ examples/*/dist/
|
|||||||
**/handler.zip
|
**/handler.zip
|
||||||
test.token
|
test.token
|
||||||
*.tfvars
|
*.tfvars
|
||||||
|
.e2e-logs/
|
||||||
|
.stress-logs/
|
||||||
|
|||||||
Reference in New Issue
Block a user