jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

Jovo Deploy to lambda does nothing #35

Closed mastacheata closed 6 years ago

mastacheata commented 6 years ago

I'm submitting a...

Expected Behavior

jovo deploy -t lambda should do anything. Either create the zip file for manual deployment or better yet deploy the skill to AWS lambda directly.

Current Behavior

`λ jovo deploy -t lambda

√ Deploying Alexa Skill

Deployment completed.`

The AWS Lambda dashboard shows that the corresponding function wasn't updated in the last hour (that was when I last updated it by hand).

Error log

If you have an error log, please paste it here.

Your Environment

aswetlow commented 6 years ago

Hey @mastacheata, could you post your app.json?

mastacheata commented 6 years ago

Sure:

{
    "alexaSkill": {
        "nlu": "alexa"
    },
    "endpoint": "https://webhook.jovo.cloud/be253948-a556-49c5-954e-18e24a71207b"
}

I also tried to add a host to the alexaSkill, because that was recommended in another issue, but to no avail:

{
    "alexaSkill": {
        "nlu": "alexa",
        "host": {
            "lambda": {
                "arn": "arn:aws:lambda:eu-west-1:767171228215:function:videorecorderEnFunc"
            }
        }
    },
    "endpoint": "https://webhook.jovo.cloud/be253948-a556-49c5-954e-18e24a71207b"
}
aswetlow commented 6 years ago

Looks fine to me. Could you try it with the ask cli? Just to make sure we don't miss an error message. ask lambda upload -f arn:aws:lambda:eu-west-1:767171228215:function:videorecorderEnFunc

jankoenig commented 6 years ago

Hi @mastacheata , jovo-cli v1.1.10 should fix this