Skip to content

Commit

Permalink
Merge pull request #371 from NASA-IMPACT/iss655__CognitoLayer_Deploym…
Browse files Browse the repository at this point in the history
…ents

attempting to fix UAT errors where the function already exists
  • Loading branch information
krisstanton authored Jul 31, 2024
2 parents 8050b4f + a17f58c commit 35a08a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/stacks/post-deploy-mods/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ resource "aws_lambda_function" "pre_filter_DistributionApiEndpoints" {
memory_size = 3008

source_code_hash = filebase64sha256("${path.module}/resources/lambdas/pre-filter-DistributionApiEndpoints/distro/lambda.zip")

lifecycle {
create_before_destroy = true
}
}

# Define the Execution Role and Policy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Imports Section
# Import Section
import json

# For catching generic errors
Expand All @@ -7,6 +7,7 @@
# To call another lambda, from this lambda
import boto3


# SETTINGS
#
# This function's name (for logging purposes)
Expand Down

0 comments on commit 35a08a5

Please sign in to comment.