You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are able to deploy it from default one but when we try to deploy it from our own s3 bucket with same steps that is mention, it fails we get following error at ./release.sh. I am trying to do it from ec2 instance were we already installed python3, after this error also we continued and that gave the error at cloud formation stack at s3cleanup, type -Custom::S3Cleanup , and it gave error- "CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [cd1e38d1-b762-47c9-a84a-ce00d96cd192]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version."
ERROR-
Entrypoint lex-web-ui-loader [big] 785 KiB (1.03 MiB) = lex-web-ui-loader.min.css 1.5 KiB lex-web-ui-loader.min.js 783 KiB 2 auxiliary assets
webpack 5.97.1 compiled successfully in 3509 ms
[INFO] Copying library files
cp ../src/dependencies/3.3.10_dist_vue.global.prod.js ../src/dependencies/3.4.6_dist_vuetify.min.css ../src/dependencies/3.4.6_dist_vuetify.min.js ../src/dependencies/4.1.0_dist_vuex.min.js ../src/dependencies/aws-sdk-2.903.0.min.js ../src/dependencies/initiate-loader.js ../src/dependencies/material_icons.css .
make[1]: Leaving directory '/home/ec2-user/git/aws-lex-web-ui/dist'
pushd ../templates/custom-resources ;
[ -f requirements.txt ] &&
python3 -m pip install --upgrade -r requirements.txt -t ./py_modules || true ;
popd ;
~/git/aws-lex-web-ui/templates/custom-resources ~/git/aws-lex-web-ui/build
/usr/bin/python3: No module named pip
~/git/aws-lex-web-ui/build
mkdir -p "out"
[INFO] Creating custom resource Lambda zip file
zip -u -j "out/custom-resources-v0.21.7.zip" ../templates/custom-resources/cfnresponse.py ../templates/custom-resources/codebuild-start.py ../templates/custom-resources/s3-cleanup.py ../templates/custom-resources/py_modules ;
pushd ../templates/custom-resources/py_modules ;
zip -r -q "../../../build/out/custom-resources-v0.21.7.zip" . ;
popd ;
zip warning: out/custom-resources-v0.21.7.zip not found or empty
zip warning: name not matched: ../templates/custom-resources/py_modules
adding: cfnresponse.py (deflated 56%)
adding: codebuild-start.py (deflated 62%)
adding: s3-cleanup.py (deflated 63%)
/bin/sh: line 2: pushd: ../templates/custom-resources/py_modules: No such file or directory
zip I/O error: No such file or directory
zip error: Could not create output file (../../../build/out/custom-resources-v0.21.7.zip)
/bin/sh: line 4: popd: directory stack empty
make: *** [Makefile:65: custom-resources-v0.21.7.zip] Error 1
[INFO] Creating initiate chat Lambda zip file
zip -r -j "out/initiate-chat-lambda-v0.21.7.zip" ../src/initiate-chat-lambda ;
adding: index.js (deflated 70%)
[INFO] Creating streaming Lambda zip file
zip -r -j "out/streaming-lambda-v0.21.7.zip" ../src/streaming-lambda ;
adding: index.js (deflated 50%)
The text was updated successfully, but these errors were encountered:
This part indicates it did not download the Python modules it needed. You might need to install Python on the machine where you are executing the build if its not there
/bin/sh: line 2: pushd: ../templates/custom-resources/py_modules: No such file or directory zip I/O error: No such file or directory
Hello,
We are able to deploy it from default one but when we try to deploy it from our own s3 bucket with same steps that is mention, it fails we get following error at ./release.sh. I am trying to do it from ec2 instance were we already installed python3, after this error also we continued and that gave the error at cloud formation stack at s3cleanup, type -Custom::S3Cleanup , and it gave error- "CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [cd1e38d1-b762-47c9-a84a-ce00d96cd192]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version."
ERROR-
Entrypoint lex-web-ui-loader [big] 785 KiB (1.03 MiB) = lex-web-ui-loader.min.css 1.5 KiB lex-web-ui-loader.min.js 783 KiB 2 auxiliary assets
webpack 5.97.1 compiled successfully in 3509 ms
[INFO] Copying library files
cp ../src/dependencies/3.3.10_dist_vue.global.prod.js ../src/dependencies/3.4.6_dist_vuetify.min.css ../src/dependencies/3.4.6_dist_vuetify.min.js ../src/dependencies/4.1.0_dist_vuex.min.js ../src/dependencies/aws-sdk-2.903.0.min.js ../src/dependencies/initiate-loader.js ../src/dependencies/material_icons.css .
make[1]: Leaving directory '/home/ec2-user/git/aws-lex-web-ui/dist'
pushd ../templates/custom-resources ;
[ -f requirements.txt ] &&
python3 -m pip install --upgrade -r requirements.txt -t ./py_modules || true ;
popd ;
~/git/aws-lex-web-ui/templates/custom-resources ~/git/aws-lex-web-ui/build
/usr/bin/python3: No module named pip
~/git/aws-lex-web-ui/build
mkdir -p "out"
[INFO] Creating custom resource Lambda zip file
zip -u -j "out/custom-resources-v0.21.7.zip" ../templates/custom-resources/cfnresponse.py ../templates/custom-resources/codebuild-start.py ../templates/custom-resources/s3-cleanup.py ../templates/custom-resources/py_modules ;
pushd ../templates/custom-resources/py_modules ;
zip -r -q "../../../build/out/custom-resources-v0.21.7.zip" . ;
popd ;
zip warning: out/custom-resources-v0.21.7.zip not found or empty
zip warning: name not matched: ../templates/custom-resources/py_modules
adding: cfnresponse.py (deflated 56%)
adding: codebuild-start.py (deflated 62%)
adding: s3-cleanup.py (deflated 63%)
/bin/sh: line 2: pushd: ../templates/custom-resources/py_modules: No such file or directory
zip I/O error: No such file or directory
zip error: Could not create output file (../../../build/out/custom-resources-v0.21.7.zip)
/bin/sh: line 4: popd: directory stack empty
make: *** [Makefile:65: custom-resources-v0.21.7.zip] Error 1
[INFO] Creating initiate chat Lambda zip file
zip -r -j "out/initiate-chat-lambda-v0.21.7.zip" ../src/initiate-chat-lambda ;
adding: index.js (deflated 70%)
[INFO] Creating streaming Lambda zip file
zip -r -j "out/streaming-lambda-v0.21.7.zip" ../src/streaming-lambda ;
adding: index.js (deflated 50%)
The text was updated successfully, but these errors were encountered: