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
Copy file name to clipboardExpand all lines: README.md
+29-21Lines changed: 29 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,35 +60,43 @@ To run the tests:
60
60
pytest functions/notify_slack_test.py
61
61
62
62
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
63
+
## Providers
64
+
65
+
| Name | Version |
66
+
|------|---------|
67
+
| archive | n/a |
68
+
| aws | n/a |
69
+
| null | n/a |
70
+
63
71
## Inputs
64
72
65
73
| Name | Description | Type | Default | Required |
66
-
|------|-------------|:----:|:-----:|:-----:|
67
-
| cloudwatch\_log\_group\_kms\_key\_id | The ARN of the KMS Key to use when encrypting log data for Lambda | string |`"null"`|no|
68
-
| cloudwatch\_log\_group\_retention\_in\_days | Specifies the number of days you want to retain log events in log group for Lambda. | number |`"0"`| no |
69
-
| cloudwatch\_log\_group\_tags | Additional tags for the Cloudwatch log group | map(string) |`{}`| no |
70
-
| create | Whether to create all resources | bool |`"true"`| no |
71
-
| create\_sns\_topic | Whether to create new SNS topic | bool |`"true"`| no |
72
-
| iam\_role\_tags | Additional tags for the IAM role | map(string) |`{}`| no |
73
-
| kms\_key\_arn | ARN of the KMS key used for decrypting slack webhook url | string |`""`| no |
74
-
| lambda\_description | The description of the Lambda function | string |`"null"`|no|
75
-
| lambda\_function\_name | The name of the Lambda function to create | string |`"notify_slack"`| no |
76
-
| lambda\_function\_tags | Additional tags for the Lambda function | map(string) |`{}`| no |
77
-
| log\_events | Boolean flag to enabled/disable logging of incoming events |string|`"false"`| no |
78
-
| reserved\_concurrent\_executions | The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations | number |`"-1"`| no |
79
-
| slack\_channel | The name of the channel in Slack for notifications | string | n/a | yes |
80
-
| slack\_emoji | A custom emoji that will appear on Slack messages | string |`":aws:"`| no |
81
-
| slack\_username | The username that will appear on Slack messages | string | n/a | yes |
82
-
| slack\_webhook\_url | The URL of Slack webhook | string | n/a | yes |
83
-
| sns\_topic\_name | The name of the SNS topic to create | string | n/a | yes |
84
-
| sns\_topic\_tags | Additional tags for the SNS topic | map(string) |`{}`| no |
85
-
| tags | A map of tags to add to all resources | map(string) |`{}`| no |
74
+
|------|-------------|------|---------|:-----:|
75
+
| cloudwatch\_log\_group\_kms\_key\_id | The ARN of the KMS Key to use when encrypting log data for Lambda |`string`|n/a|yes|
76
+
| cloudwatch\_log\_group\_retention\_in\_days | Specifies the number of days you want to retain log events in log group for Lambda. |`number`|`0`| no |
77
+
| cloudwatch\_log\_group\_tags | Additional tags for the Cloudwatch log group |`map(string)`|`{}`| no |
78
+
| create | Whether to create all resources |`bool`|`true`| no |
79
+
| create\_sns\_topic | Whether to create new SNS topic |`bool`|`true`| no |
80
+
| iam\_role\_tags | Additional tags for the IAM role |`map(string)`|`{}`| no |
81
+
| kms\_key\_arn | ARN of the KMS key used for decrypting slack webhook url |`string`|`""`| no |
82
+
| lambda\_description | The description of the Lambda function |`string`|n/a|yes|
83
+
| lambda\_function\_name | The name of the Lambda function to create |`string`|`"notify_slack"`| no |
84
+
| lambda\_function\_tags | Additional tags for the Lambda function |`map(string)`|`{}`| no |
85
+
| log\_events | Boolean flag to enabled/disable logging of incoming events |`bool`|`false`| no |
86
+
| reserved\_concurrent\_executions | The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations |`number`|`-1`| no |
87
+
| slack\_channel | The name of the channel in Slack for notifications |`string`| n/a | yes |
88
+
| slack\_emoji | A custom emoji that will appear on Slack messages |`string`|`":aws:"`| no |
89
+
| slack\_username | The username that will appear on Slack messages |`string`| n/a | yes |
90
+
| slack\_webhook\_url | The URL of Slack webhook |`string`| n/a | yes |
91
+
| sns\_topic\_name | The name of the SNS topic to create |`string`| n/a | yes |
92
+
| sns\_topic\_tags | Additional tags for the SNS topic |`map(string)`|`{}`| no |
93
+
| tags | A map of tags to add to all resources |`map(string)`|`{}`| no |
86
94
87
95
## Outputs
88
96
89
97
| Name | Description |
90
98
|------|-------------|
91
-
| lambda\_cloudwatch\_log\_group\_arn | The Amazon Resource Name \(ARN\) specifying the log group |
99
+
| lambda\_cloudwatch\_log\_group\_arn | The Amazon Resource Name (ARN) specifying the log group |
92
100
| lambda\_iam\_role\_arn | The ARN of the IAM role used by Lambda function |
93
101
| lambda\_iam\_role\_name | The name of the IAM role used by Lambda function |
94
102
| notify\_slack\_lambda\_function\_arn | The ARN of the Lambda function |
Copy file name to clipboardExpand all lines: examples/notify-slack-simple/README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,21 @@ $ terraform apply
19
19
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
20
20
21
21
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
22
+
## Providers
23
+
24
+
| Name | Version |
25
+
|------|---------|
26
+
| aws | n/a |
27
+
28
+
## Inputs
29
+
30
+
No input.
31
+
22
32
## Outputs
23
33
24
34
| Name | Description |
25
35
|------|-------------|
26
-
| lambda\_cloudwatch\_log\_group\_arn | The Amazon Resource Name \(ARN\) specifying the log group |
36
+
| lambda\_cloudwatch\_log\_group\_arn | The Amazon Resource Name (ARN) specifying the log group |
27
37
| lambda\_iam\_role\_arn | The ARN of the IAM role used by Lambda function |
28
38
| lambda\_iam\_role\_name | The name of the IAM role used by Lambda function |
29
39
| notify\_slack\_lambda\_function\_arn | The ARN of the Lambda function |
0 commit comments