We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9eeab4 commit b4bdf4bCopy full SHA for b4bdf4b
deploy.sh
@@ -46,9 +46,12 @@ aws cloudformation deploy --stack-name ${APP_NAME} \
46
# Get the ARN of the Lambda function from stack outputs
47
CERTBOT_FUNCTION_ARN=$(aws cloudformation describe-stacks --stack-name ${APP_NAME} --query 'Stacks[0].Outputs[?OutputKey==`AwsCertbotFunctionArn`].OutputValue' --output text)
48
49
+ARCH=$(dpkg --print-architecture)
50
+
51
# Update the Lambda function code using the extracted ARN
52
aws lambda update-function-code \
53
--function-name ${CERTBOT_FUNCTION_ARN} \
54
+ --architectures ${ARCH} \
55
--image-uri ${ECR_REPOSITORY_URI}:latest > /dev/null
56
57
echo "Deployment complete"
0 commit comments