Comments (5)
Thanks for your submission @aa2858 - we are looking into that.
from amazon-rekognition-engagement-meter.
@aa2858 we just made a change to the release pipeline that should address your issue.
Can you please try to redeploy the stack by using one of the buttons on the README?
Thanks.
from amazon-rekognition-engagement-meter.
Thank you. The issue has been resolved and I have been able to progress forward but not completely done.
I cannot directly use the readme button because I need to customize the template to work in our environment. I have limited admin rights and I have to pre-create one of the roles.
The current issue is that cfn is complaining about lambda codeuri which I have looked up and the resolution I have is to package the code with sam
which generate the code location on s3 and update the template.
Just wanted to check if this is correct. The change cycle takes time because of cloudfront.
Thanks,
Adams
from amazon-rekognition-engagement-meter.
Thanks @aa2858,
In order to customise the back-end code, here is my recommendation.
If you need to change the lambda:
- You need a S3 bucket to do the packaging. That wasn't needed before, but we changed that to improve the reliability. The S3 bucket needs to be in the same region you'll deploy the stack.
- Run
npm install
to start - Make changes to the
/src/cfn/template.yaml
file and the lambdas - Run
npm run build
(this will create a file in templates/template.yaml that refers to the local lambdas) - Run
aws cloudformation package --template-file templates/template.yaml --s3-bucket <YOUR S3 BUCKET> --output-template-file templates/packaged.yaml
(this can be done with the aws cli, the sam cli is actually not needed) - Now you can deploy your packaged template
aws cloudformation deploy --template-file templates/packaged.yaml --stack-name <YOUR STACK NAME>
I hope it makes sense. If you look into the packaged.yaml
file after step 5, you'll see that the lambda paths switch from local paths to s3 paths.
If you don't need to change the lambda, it's a bit easier:
- Get the template url from one of the links in the README. For instance, the
us-east-1
is https://solution-builders-us-east-1.s3.us-east-1.amazonaws.com/amazon-rekognition-engagement-meter/latest/main.template - Edit that file as you wish
- Deploy with
aws cloudformation deploy --template-file main.template --stack-name <YOUR STACK NAME>
I hope it makes sense, let me know if this solves the issue.
from amazon-rekognition-engagement-meter.
(I am closing now given you mentioned the issue may be different, but feel free to re-open if that's not the case).
from amazon-rekognition-engagement-meter.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-rekognition-engagement-meter.