Skip to content

Commit

Permalink
reduce the count to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 23, 2023
1 parent a5887b1 commit ddea4eb
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 = 3
count = 1
type = "zip"
source_file = var.source_file[count.index]
output_path = var.output_path[count.index]
}


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

0 comments on commit ddea4eb

Please sign in to comment.