We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887d6c6 commit a3c720eCopy full SHA for a3c720e
.ebextensions/lambda-function.config
@@ -10,7 +10,6 @@ packages:
10
container_commands:
11
update-random-name:
12
command: /tmp/update-lambda.sh
13
- ignore_errors: true
14
leader_only: true
15
16
files:
@@ -42,3 +41,8 @@ files:
42
41
zip -r ../random-name.zip *
43
aws lambda update-function-code --function-name random-name --zip-file fileb://../random-name.zip --region $REGION
44
aws lambda update-function-configuration --function-name random-name --environment "{\"Variables\": {\"TOPIC_ARN\": \"$TOPIC\"} }" --region $REGION
+ if [ $? -ne 0 ]
45
+ then
46
+ echo "Lambda function random-name not found"
47
+ fi
48
+ exit 0
0 commit comments