Skip to content

Commit ab38a2f

Browse files
committed
update lambda module
1 parent c4f8912 commit ab38a2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "aws_cloudwatch_event_rule" "rule" {
77

88
module "lambda" {
99
source = "terraform-aws-modules/lambda/aws"
10-
version = "1.39.0"
10+
version = "2.7.0"
1111
function_name = var.function_name
1212
description = "Lambda to monitor app https endpoint availability and SSL certificate validity."
1313
handler = "ssl-check-to-slack.main"
@@ -43,5 +43,5 @@ module "lambda" {
4343
resource "aws_cloudwatch_event_target" "target" {
4444
rule = aws_cloudwatch_event_rule.rule.name
4545
target_id = var.function_name
46-
arn = module.lambda.this_lambda_function_arn
46+
arn = module.lambda.lambda_function_arn
4747
}

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
aws = {
55
source = "hashicorp/aws"
6-
version = ">= 3.19.0"
6+
version = ">= 3.35.0"
77
}
88
external = {
99
source = "hashicorp/external"

0 commit comments

Comments
 (0)