I tried to use the ask deploy command. But it does not deploy to the correct region.
$ cat ~/.ask/cli_config { "profiles": { "myprofile": { "aws_profile": "myprofile", "token": { "access_token": "*****", "refresh_token": "******", "token_type": "bearer", "expires_in": 3600, "expires_at": "*******" }, "vendor_id": "*********" } } }
$ cat ~/.ask/config { "apis": { "custom": { "endpoint": { "uri": "arn:aws:lambda:eu-west-1:XXXX" }, "regions": { "EU": { "endpoint": { "uri": "arn:aws:lambda:eu-west-1:XXXX" } } } } } }
$ cat ~/.aws/config [myprofile] region = eu-west-1 output = json
$ ask deploy --profile myprofile -------------------- Update Skill Project -------------------- Skill Id: amzn1.ask.skill.*****-****-****-****-******** Skill deployment finished. Model deployment finished. Lambda deployment finished. Your skill is now deployed and enabled in the development stage. Try invoking the skill by saying “Alexa, open {your_skill_invocation_name}” or simulate an invocation via the `ask simulate` command.
Skill available but in US region.
$ ask deploy --profile myprofile --endpointRegion eu-west-1 error: unknown option `--endpointRegion'
Does not work.
:(