'Trying to connect to AWS Developer Account with ASK CLI

I have the following setup:

  1. I have Amazon Linux AMI running in an EC2 instance.

  2. There I want to initialize the ASK CLI with the the command ask init --no-browser

  3. When I click on the link generated by the ASK CLI to get my Authorization Code and I log in into my AWS Dev Account an Access Denied error occurs (see screenshots)

enter image description here

enter image description here

Can somebody help me what can the problem be?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source