resource "upstash_qstash_schedule" "exampleQstashSchedule" {
  destination = resource.upstash_qstash_topic.exampleQstashTopic.topic_id
  cron        = "* * * * */2"

  # or simply provide a link
  # destination = "https://***.***"
}
resource "upstash_qstash_schedule" "exampleQstashSchedule" {
  destination = resource.upstash_qstash_topic.exampleQstashTopic.topic_id
  cron        = "* * * * */2"

  # or simply provide a link
  # destination = "https://***.***"
}

Schema

Required

cron
string
required
Cron string for Qstash Schedule
destination
string
required
Destination for Qstash Schedule. Either Topic ID or valid URL

Optional

body
string
Body to send for the POST request in string format. Needs escaping () double quotes.
callback
string
Callback URL for Qstash Schedule.
content_based_deduplication
bool
Content based deduplication for Qstash Scheduling.
content_type
string
Content type for Qstash Scheduling.
deduplicatoin_id
string
Deduplication ID for Qstash Scheduling.
delay
string
Delay for Qstash Schedule.
forward_headers
map(string)
Forward headers to your API
not_before
number
Start time for Qstash Scheduling.
retries
number
Retries for Qstash Schedule requests.

Read-Only

created_at
number
Creation time for Qstash Schedule.
id
string
The ID of this resource.
schedule_id
string
Unique Qstash Schedule ID for requested schedule