Skip to content

Commit

Permalink
update lambda script
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Jul 3, 2020
1 parent 8166afd commit 279f0b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ module "cloudtrail-slack-notification" {
| security\_group\_ids | Security Group IDs. | list | `<list>` | no |
| slack\_variables | A map that defines environment variables for the Lambda function. | map | `<map>` | no |
| subnet\_ids | Subnet IDs. | list | `<list>` | no |
| timeout | timeout. | number | `"30"` | no |
| variables | A map that defines environment variables for the Lambda function. | map | `<map>` | no |

## Outputs
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module "site-monitor" {
"ec2:DescribeNetworkInterfaces",
"ec2:DeleteNetworkInterface"
]
timeout = 30
timeout = var.timeout

names = [
"python_layer"
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,10 @@ variable "security_group_ids" {
type = list
default = []
description = "Security Group IDs."
}

variable "timeout" {
type = number
default = 30
description = "timeout."
}

0 comments on commit 279f0b4

Please sign in to comment.