Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy ASK project without Lambda #417

Closed
paul-uz opened this issue Oct 26, 2021 · 3 comments
Closed

Deploy ASK project without Lambda #417

paul-uz opened this issue Oct 26, 2021 · 3 comments

Comments

@paul-uz
Copy link

paul-uz commented Oct 26, 2021

Currently, using the ASK CLI, it seems you must deploy the Lambda function in one way or another, either as a Cloudformation stack, the standalone Lambda, or as a hosted skill.

Is there a way to deploy just the skill config, so I can edit and deploy the Lambda separately?

Ideally, I want to add the ASK Lambda function to a pre-exisiting stack we have, and then just tie the Alexa skill to that lambda, but I have no idea how to achieve this.

@jsetton
Copy link
Contributor

jsetton commented Oct 27, 2021

Is there a way to deploy just the skill config, so I can edit and deploy the Lambda separately?

Use --target skill-metadata deploy option.

I want to add the ASK Lambda function to a pre-exisiting stack we have, and then just tie the Alexa skill to that lambda

Set the sourceLambda.arn deployer parameter.

@paul-uz
Copy link
Author

paul-uz commented Oct 28, 2021

@jsetton excellent! The --target option works perfectly, and in fact, because of that, I don't need to configure anything in the project to hook it up to the custom Lambda, other than defining it as the end point

@CamdenFoucht
Copy link
Contributor

Closing since @jsetton has given you the solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants