Closed rmtuckerphx closed 3 years ago
It is annoying to have to pass the ask-profile as a CLI param because that was part of the beauty of project.js
but I did, now I am getting a different error:
C:\dev>jovo deploy -p alexaSkill --stage dev --ask-profile myprofile
> Deploying Alexa Skill (stage: dev)
× Updating Alexa Skill project for ASK profile myprofile
→ The trigger setting for the Lambda arn:aws:lambda:us-east-1:999999999999:function:myfunc-dev is invalid.
Deploying Interaction Model, waiting for build
» Error: There was a problem:
» Error: The trigger setting for the Lambda arn:aws:lambda:us-east-1:999999999999:function:myfunc-dev is invalid.
What is meant by the trigger setting?
Looking into this.
Regarding the trigger setting. This happens when you try to deploy skill information that has a Lambda endpoint which is tied to a different Skill ID. Then the Alexa API throws an error.
Hey @rmtuckerphx ,
does this error still occur?
Closing this for now. If the issue still persists, feel free to reopen.
I'm submitting a...
Expected Behavior
JOVO CLI should work the way the 2.x CLI worked when it comes to:
project.js
alexaSkill
that specifies a value foraskProfile
build
with a-d
flag should include bundle/deploy of zip to lambdaCurrent Behavior
It seems that some of the functionality that was working in CLI 2.x does not work the same in v3.
Example 1: I often build and deploy with a single command:
jovo build -p alexaSkill --stage dev -d
In v3, the code is not deployed to lambdaExample 2: When I do a separate deploy:
deploy -p alexaSkill --stage dev
The model and skill info are deployed, but the lambda is not. I now have to explicitly target lambda for it to deploy:deploy -p alexaSkill --stage dev -t lambda
Example 3: It doesn't appear that the
askProfile
specified inproject.js
for the given stage is used.default
is used instead. (see log below)Error log
Your Environment