We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 441b8c4 commit 552baaaCopy full SHA for 552baaa
README.md
@@ -54,6 +54,14 @@ module "lambda" {
54
subnet_ids = ["${aws_subnet.test.id}"]
55
security_group_ids = ["${aws_security_group.test.id}"]
56
}
57
+
58
+ // Trigger from a Cloudwatch Events rule.
59
+ attach_cloudwatch_rule_config = true
60
+ cloudwatch_rule_config {
61
+ name = "scheduled-run"
62
+ description = "Run my lambda every day at 8pm"
63
+ schedule_expression = "cron(0 20 * * ? *)"
64
+ }
65
66
```
67
0 commit comments