Skip to content

Commit 279f0b4

Browse files
committed
update lambda script
1 parent 8166afd commit 279f0b4

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ module "cloudtrail-slack-notification" {
108108
| security\_group\_ids | Security Group IDs. | list | `<list>` | no |
109109
| slack\_variables | A map that defines environment variables for the Lambda function. | map | `<map>` | no |
110110
| subnet\_ids | Subnet IDs. | list | `<list>` | no |
111+
| timeout | timeout. | number | `"30"` | no |
111112
| variables | A map that defines environment variables for the Lambda function. | map | `<map>` | no |
112113

113114
## Outputs

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module "site-monitor" {
5353
"ec2:DescribeNetworkInterfaces",
5454
"ec2:DeleteNetworkInterface"
5555
]
56-
timeout = 30
56+
timeout = var.timeout
5757

5858
names = [
5959
"python_layer"

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,10 @@ variable "security_group_ids" {
6464
type = list
6565
default = []
6666
description = "Security Group IDs."
67+
}
68+
69+
variable "timeout" {
70+
type = number
71+
default = 30
72+
description = "timeout."
6773
}

0 commit comments

Comments
 (0)