Open Atlas7 opened 7 years ago
Same problem here - does anyone know of any workarounds?
Update: Ok I found a way to get this working, basically I opened /gulp-tasks/_upload.js and added the region to the opts object passed to the awslambda function:
var opts = {
profile: config.awsProfileName,
region: 'eu-west-1'
}
Ran npm start
again and the upload is now working fine.
No matter how hard I try, I don't seem to be able to get it upload to the "eu-west-1" (Ireland) region - Alexa Skill Kit is available in this region. (I'm on MacOS). (Credential wise seems to be ok).
i.e. I've done all the followings but still no luck:
"region" = "eu-west-1"
and"dynamoRegion" = "eu-west-1"
in thesrc/skill/models/config.json
. In this file I've also included the eu-west-1 lambda application ID. i.e. "applicationId" : "xxxxxxxxxxxxxx"AWS_REGION=eu-west-1
andAWS_DEFAULT_REGION=eu-west-1
.~/.aws/credentials
contains key and secret key (from IAM), and~/.aws/config
containsregion = eu-west-1
.Whenever I hit the upload button, the log keeps implying it's trying to reach "us-east-1", instead of "eu-west-1". Error log shows this:
(it insists "us-east-1" instead of the "eu-west-1" that I thought I set).