From e98ce89c16ff4e432019770fd5181c733fbdf32b Mon Sep 17 00:00:00 2001 From: Andrea Scuderi Date: Fri, 12 Jun 2020 22:57:04 +0200 Subject: [PATCH] Fix SAM Examples after directory change --- Examples/LambdaFunctions/scripts/SAM/APIGateway-template.yml | 2 +- Examples/LambdaFunctions/scripts/SAM/Benchmark-template.yml | 2 +- .../LambdaFunctions/scripts/SAM/CurrencyExchange-template.yml | 2 +- Examples/LambdaFunctions/scripts/SAM/ErrorHandling-template.yml | 2 +- Examples/LambdaFunctions/scripts/SAM/HelloWorld-template.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Examples/LambdaFunctions/scripts/SAM/APIGateway-template.yml b/Examples/LambdaFunctions/scripts/SAM/APIGateway-template.yml index 38a92035..7776921b 100644 --- a/Examples/LambdaFunctions/scripts/SAM/APIGateway-template.yml +++ b/Examples/LambdaFunctions/scripts/SAM/APIGateway-template.yml @@ -9,7 +9,7 @@ Resources: Properties: Handler: Provided Runtime: provided - CodeUri: .build/lambda/APIGateway/lambda.zip + CodeUri: ../../.build/lambda/APIGateway/lambda.zip # Add an API Gateway event source for the Lambda Events: HttpGet: diff --git a/Examples/LambdaFunctions/scripts/SAM/Benchmark-template.yml b/Examples/LambdaFunctions/scripts/SAM/Benchmark-template.yml index 38941a53..55100d12 100644 --- a/Examples/LambdaFunctions/scripts/SAM/Benchmark-template.yml +++ b/Examples/LambdaFunctions/scripts/SAM/Benchmark-template.yml @@ -9,6 +9,6 @@ Resources: Properties: Handler: Provided Runtime: provided - CodeUri: .build/lambda/Benchmark/lambda.zip + CodeUri: ../../.build/lambda/Benchmark/lambda.zip # Instructs new versions to be published to an alias named "live". AutoPublishAlias: live diff --git a/Examples/LambdaFunctions/scripts/SAM/CurrencyExchange-template.yml b/Examples/LambdaFunctions/scripts/SAM/CurrencyExchange-template.yml index de09cd4e..b7b4f250 100644 --- a/Examples/LambdaFunctions/scripts/SAM/CurrencyExchange-template.yml +++ b/Examples/LambdaFunctions/scripts/SAM/CurrencyExchange-template.yml @@ -9,7 +9,7 @@ Resources: Properties: Handler: Provided Runtime: provided - CodeUri: .build/lambda/CurrencyExchange/lambda.zip + CodeUri: ../../.build/lambda/CurrencyExchange/lambda.zip Timeout: 300 # Instructs new versions to be published to an alias named "live". AutoPublishAlias: live diff --git a/Examples/LambdaFunctions/scripts/SAM/ErrorHandling-template.yml b/Examples/LambdaFunctions/scripts/SAM/ErrorHandling-template.yml index dba76b8e..c277ec72 100644 --- a/Examples/LambdaFunctions/scripts/SAM/ErrorHandling-template.yml +++ b/Examples/LambdaFunctions/scripts/SAM/ErrorHandling-template.yml @@ -9,6 +9,6 @@ Resources: Properties: Handler: Provided Runtime: provided - CodeUri: .build/lambda/ErrorHandling/lambda.zip + CodeUri: ../../.build/lambda/ErrorHandling/lambda.zip # Instructs new versions to be published to an alias named "live". AutoPublishAlias: live diff --git a/Examples/LambdaFunctions/scripts/SAM/HelloWorld-template.yml b/Examples/LambdaFunctions/scripts/SAM/HelloWorld-template.yml index 7eddfbe7..22b09df7 100644 --- a/Examples/LambdaFunctions/scripts/SAM/HelloWorld-template.yml +++ b/Examples/LambdaFunctions/scripts/SAM/HelloWorld-template.yml @@ -9,6 +9,6 @@ Resources: Properties: Handler: Provided Runtime: provided - CodeUri: .build/lambda/HelloWorld/lambda.zip + CodeUri: ../../.build/lambda/HelloWorld/lambda.zip # Instructs new versions to be published to an alias named "live". AutoPublishAlias: live