aws-solutions / smart-product-solution

The Smart Product Solution is a customer deployable reference architecture to help manufacturers to jumpstart development of innovative connected/smart product services.
Apache License 2.0
28 stars 20 forks source link

Missing file in build-s3-dist.sh #10

Open billkidwell opened 4 years ago

billkidwell commented 4 years ago

I made some changes to my code, tested them, and wanted to deploy according to the README instructions.

When I run ./build-s3-dist.sh I get the following output.

[Packing] Templates
------------------------------------------------------------------------------
cp /c/projects/smart-fans/deployment/smart-product-solution.yaml /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
cp: cannot stat '/c/projects/smart-fans/deployment/smart-product-solution.yaml': No such file or directory
Updating code source bucket in template with smart-fan-poc-us-east-1
sed -i -e s/%%BUCKET_NAME%%/smart-fan-poc-us-east-1/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory
sed -i -e s/%%SOLUTION_NAME%%/smart-fans/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory
sed -i -e s/%%VERSION%%/0.1.0/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory

The script seems to be looking for smart-production-solution.yaml instead of smart-production-solution.template

gsingh04 commented 4 years ago

Hello,

Thank you for reporting the issue. We have added the issue to our backlog items for now.