Skip to content

Commit 9dd948c

Browse files
committed
feat: handle memo cron and calendar
1 parent 27e9114 commit 9dd948c

File tree

2 files changed

+268
-24
lines changed

2 files changed

+268
-24
lines changed

examples/provider/provider.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,22 @@ resource "temporal_schedule" "daily_cleanup" {
2323
namespace = temporal_namespace.example.name
2424
schedule_id = "daily-cleanup-task"
2525

26+
memo = {
27+
test = "data"
28+
}
2629
spec = {
2730
intervals = [{
2831
every = "24h"
2932
offset = "2h" # Run at 2 AM UTC
3033
}]
3134

35+
calendar_items = [{
36+
year = "2023"
37+
month = "1,3,7,11"
38+
day_of_month = "1,11"
39+
hour = "11-14"
40+
}]
41+
3242
time_zone = "America/New_York"
3343
}
3444

0 commit comments

Comments
 (0)