ask-cli icon indicating copy to clipboard operation
ask-cli copied to clipboard

How specify AWS region from ask cli?

Open france193 opened this issue 3 years ago • 2 comments

Hi! Is there any option available in the ask cli to specify the aws region in which there will be created the lambda function? I use the command: ask new -p <PROFILE_NAME>, but i can’t find any cli option to specify something like “--region eu-south-1”. I’d like to specify something different from the default: “us-east-1".

france193 avatar Sep 07 '22 15:09 france193

Hey @france193 , sorry for such a delay on this!

Can you try changing the value of awsRegion in the skillInfrastructure section your ask-resources.json file? (or add the field if it's not there)

image

tydonelson avatar Sep 29 '22 19:09 tydonelson

There is some more documentation around the ask-resources.json file here: https://github.com/alexa/ask-cli/blob/develop/docs/concepts/Alexa-Skill-Project-Definition.md#ask-resourcesjson-this-file-is-up-to-configure

tydonelson avatar Sep 29 '22 19:09 tydonelson