You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -51,22 +51,19 @@ The following arguments are supported:
51
51
*`password` - (Required) The registry password
52
52
*`command` - (Optional) The command to execute in the container. Default is `/app/server`
53
53
*`environment` - (Optional, map) The environment variables to set in the docker container before executing the function
54
-
*`schedule` - (Optional) Schedule the function. When not set, the function becomes a task.
55
-
*`start` - (Optional, RFC3339) When to start the schedule. Example: `2021-01-01T04:00:00Z`. Default is a date in the past.
56
-
Setting the start argument allows you to control the specific time within the day when your task will be scheduled.
57
-
*`run_every` - (Optional) Run the function every `{value}{unit}` period. Supported units are `s`, `m`, `h`, `d` for second, minute, hours, days respectively. Conflicts with `cron`
58
-
Example: a value of `"20m"` would run the function every 20 minutes.
59
-
*`cron` - (Optional) set schedule using cron format. This requires a backend with activated gateway. Conflicts with `run_every`
60
-
*`timeout` - (Optional, int) When set, limits the execution time (seconds) to this value. Default: `1800` (30 minutes)
54
+
*`schedule` - (Optional) set schedule using cron format. This requires a backend with activated gateway. Conflicts with `run_every`
55
+
*`run_every` - (Optional) Run the function every `{value}{unit}` period. Supported units are `s`, `m`, `h`, `d` for second, minute, hours, days respectively. Conflicts with `cron`
56
+
Example: a value of `"20m"` would run the function every 20 minutes.
57
+
*`timeout` - (Optional, int) When set, limits the execution time (seconds) to this value. Default: `1800` (30 minutes)
61
58
*`backend` - (Required) The backend to use for scheduling your functions.
62
-
*`type` - (Required) The backend type. Only `siderite` is supported at this time.
59
+
*`type` - (Optional) The backend type. Only `siderite` is supported at this time. Defaults to: `siderite`
63
60
*`credentials` - (Required, map) The backend credentials. Must be iron configuration details at this time.
64
61
65
62
## Attribute reference
66
63
67
64
The following attributes are exported:
68
65
69
66
*`endpoint` - The gateway endpoint where you can trigger this function
70
-
*`async_endpoint` - The gateway endpoint where eyou can schedule the function asychnronously
71
-
*`token` - The token to use in case `auth_type` is set to `token`. This token must be pased in the HTTP `Authorization` header as `Token TOKENHERE`
67
+
*`async_endpoint` - The gateway endpoint where you can schedule the function asynchronously
68
+
*`token` - The token to use in case `auth_type` is set to `token`. This token must be pasted in the HTTP `Authorization` header as `Token TOKENHERE`
72
69
*`auth_type` - The authentication type. Possible values [`none`, `token`, `iam`]
0 commit comments