Skip to content

Commit 0517975

Browse files
committed
[PRMP-1048] typo
1 parent bb9da4c commit 0517975

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

infrastructure/concurrency_controls.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_start
88
resource "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

2525
resource "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" {
4646
resource "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" {
6666
resource "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

Comments
 (0)