@@ -8,7 +8,7 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_start
88resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_start" {
99 rule = aws_cloudwatch_event_rule. bulk_upload_concurrency_office_hours_start . name
1010 target_id = " office-hours-start"
11- arn = module. concurrency-controller-lambda . arn
11+ arn = module. concurrency-controller-lambda . lambda_arn
1212
1313 input = jsonencode ({
1414 targetFunction = module.bulk- upload- lambda.function_name
@@ -23,9 +23,9 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_stop"
2323}
2424
2525resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_stop" {
26- rule = aws_cloudwatch_event_rule. bulk_upload_office_hours_stop . name
26+ rule = aws_cloudwatch_event_rule. bulk_upload_concurrency_office_hours_stop . name
2727 target_id = " office-hours-stop"
28- arn = module. concurrency-controller-lambda . arn
28+ arn = module. concurrency-controller-lambda . lambda_arn
2929
3030 input = jsonencode ({
3131 targetFunction = module.bulk- upload- lambda.function_name
@@ -46,7 +46,7 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_deploy" {
4646resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_deploy" {
4747 rule = aws_cloudwatch_event_rule. bulk_upload_concurrency_deploy . name
4848 target_id = " freeze-concurrency"
49- arn = module. concurrency-controller-lambda . arn
49+ arn = module. concurrency-controller-lambda . lambda_arn
5050
5151 input = jsonencode ({
5252 targetFunction = module.bulk- upload- lambda.function_name
@@ -66,7 +66,7 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_release_restore" {
6666resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_release_restore" {
6767 rule = aws_cloudwatch_event_rule. bulk_upload_concurrency_release_restore . name
6868 target_id = " restore-bulk-upload-concurrency"
69- arn = module. concurrency-controller-lambda . arn
69+ arn = module. concurrency-controller-lambda . lambda_arn
7070
7171 input = jsonencode ({
7272 targetFunction = module.bulk- upload- lambda.function_name
0 commit comments