question

newuser-7b4457a8-cbbf-45fb-a568-f48d4ec9e3a3 avatar image
newuser-7b4457a8-cbbf-45fb-a568-f48d4ec9e3a3 asked ·

ask-cli deploy to eu-west-1

I am trying to deploy my Alexa skill lambda skill to eu-west-1 instead of the default us-east-1. I have followed the documentation and attempted fixes from other posts but I still cannot deploy to eu.

I am getting the following error when I try to deploy:

ResourceNotFoundException: Functions from 'eu-west-1' are not reachable in this region ('us-east-1')

.ask/config

"merge": {
        "manifest": {
          "apis": {
            "custom": {
              "endpoint": {
                "uri": "*****"
              },
              "regions": {
                "EU": {
                  "endpoint": {
                    "uri": "arn:aws:lambda:eu-west-1:*****:function:*****"
                  }
                }
              }
            }
          }
        }
      }

skill.json

"apis": {
            "custom": {
                "endpoint": {
                    "sourceDir": "lambda/custom"
                },
                "regions": {
                    "EU": {
                        "endpoint": {
                            "sourceDir": "lambda/custom"
                        }
                    }
                }
            }
        }

.aws/config

[default]
output = json
region = eu-west-1

When I used "ask init" I used the AWS default profile.

alexa skills kitalexalambdaask cliaws
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Can you confirm you followed everything over here? Otherwise, let me investigate further in the meantime:

https://developer.amazon.com/docs/smapi/ask-cli-command-reference.html#deploy-command

0 Likes 0 ·

0 Answers