Skip to content

Commit

Permalink
increase the count to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 23, 2023
1 parent ba59ce1 commit 71237cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/environments/apex/modules/lambda/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ resource "aws_security_group" "lambdasg" {
}

data "archive_file" "lambda_dbsnapshot" {
count = 1
count = 3
type = "zip"
source_file = var.source_file[count.index]
output_path = var.output_path[count.index]
}


resource "aws_lambda_function" "snapshotDBFunction" {
count = 1
count = 3
# filename = var.filename[count.index]
function_name = var.function_name[count.index]
role = var.role
Expand Down

0 comments on commit 71237cf

Please sign in to comment.