Skip to content

Commit f1cff30

Browse files
committed
Disable lambda arcgis event target
1 parent d68079f commit f1cff30

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

infra/cloudwatch.tf

+7-7
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ resource "aws_cloudwatch_event_rule" "lambda_arcgis" {
8787
schedule_expression = "cron(45 4 * * ? *)"
8888
tags = local.default_tags
8989
}
90-
91-
resource "aws_cloudwatch_event_target" "lambda_arcgis" {
92-
target_id = "${var.prefix}_load_arcgis"
93-
rule = aws_cloudwatch_event_rule.lambda_arcgis.name
94-
arn = aws_lambda_function.arcgis_loader.arn
95-
input = "{\"close_to_lon\": 23.7634608, \"close_to_lat\": 61.4976505, \"radius\": 60}"
96-
}
90+
# Disabled as long as arcgis data is not available
91+
# resource "aws_cloudwatch_event_target" "lambda_arcgis" {
92+
# target_id = "${var.prefix}_load_arcgis"
93+
# rule = aws_cloudwatch_event_rule.lambda_arcgis.name
94+
# arn = aws_lambda_function.arcgis_loader.arn
95+
# input = "{\"close_to_lon\": 23.7634608, \"close_to_lat\": 61.4976505, \"radius\": 60}"
96+
# }

0 commit comments

Comments
 (0)