question

newuser-09bc633e-1b02-4e3f-b02c-490e8b03b6fc avatar image

Lambda deployment skipped, since AWS credentials for profile: [default] is missing.

I followed the " Set Up Credentials for an Amazon Web Services (AWS) Account" from this

https://developer.amazon.com/docs/smapi/set-up-credentials-for-an-amazon-web-services-account.html

But the steps between 5 and 6 is not match so I can't finish the whole process for the Alexa CLI.

Where have document to follow to create the AWS credential for Alexa CLI "ask init"?

ask cli
10 |5000

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

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi there,

Thanks for posting.

You need to edit credentials file to contain your aws credentials.

Please see the document here for the detail.

10 |5000

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

newuser-09bc633e-1b02-4e3f-b02c-490e8b03b6fc avatar image
newuser-09bc633e-1b02-4e3f-b02c-490e8b03b6fc answered

Thanks for the help. So I need to install AWS CLI to create profile? What information I should create the profile for ASK INIT for Alexa?

10 |5000

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

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi,

You need to install AWS CLI and file aws_access_key_id and aws_secret_access_key into your credentials file.

10 |5000

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

MattB2 avatar image
MattB2 answered

You don't nee to install AWS CLI, that won't help at all. Just follow the steps in the instructions you linked to, then at step 6:

  1. Select "Attach existing policies directly"
  2. Click "Create Policy"
  3. Click the "JSON" Tab,
  4. Paste the JSON from step 6
  5. Click "Review Policy"
  6. Name the policy
  7. Click "Create Policy"

Alternatively you can use a predefined policy, such as "AWSLambdaFullAccess"

Someone at Amazon might kindly get https://developer.amazon.com/docs/smapi/set-up-credentials-for-an-amazon-web-services-account.html updated.

10 |5000

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