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
enabled =true// set this to false if you want to have the trigger declared but disabled
63
+
description ="Run my lambda every day at 8pm"
64
+
schedule_expression ="cron(0 20 * * ? *)"
65
+
}
57
66
}
58
67
```
59
68
@@ -68,11 +77,13 @@ function name unique per region, for example by setting
68
77
69
78
| Name | Description | Type | Default | Required |
70
79
|------|-------------|:----:|:-----:|:-----:|
80
+
| attach\_cloudwatch\_rule\_config | Set this to true if using the cloudwatch_rule_config variable | string |`false`| no |
71
81
| attach\_dead\_letter\_config | Set this to true if using the dead_letter_config variable | string |`"false"`| no |
72
82
| attach\_policy | Set this to true if using the policy variable | string |`"false"`| no |
73
83
| attach\_vpc\_config | Set this to true if using the vpc_config variable | string |`"false"`| no |
74
84
| build\_command | The command that creates the Lambda package zip file | string |`"python build.py '$filename' '$runtime' '$source'"`| no |
75
85
| build\_paths | The files or directories used by the build command, to trigger new Lambda package builds whenever build scripts change | list |`<list>`| no |
86
+
| cloudwatch\_rule\_config | Cloudwatch Rule for the Lambda function | map |`<map>`| no |
76
87
| dead\_letter\_config | Dead letter configuration for the Lambda function | map |`<map>`| no |
77
88
| description | Description of what your Lambda function does | string |`"Managed by Terraform"`| no |
78
89
| enable\_cloudwatch\_logs | Set this to false to disable logging your Lambda output to CloudWatch Logs | string |`"true"`| no |
@@ -92,6 +103,7 @@ function name unique per region, for example by setting
92
103
93
104
| Name | Description |
94
105
|------|-------------|
106
+
| cloudwatch\_rule\_arn | The ARN of the Cloudwatch rule |
95
107
| function\_arn | The ARN of the Lambda function |
96
108
| function\_name | The name of the Lambda function |
97
109
| role\_arn | The ARN of the IAM role created for the Lambda function |
0 commit comments