You would like to start using Terraform Cloud and when trying to initialize it with the new remote backend (app.terraform.io), you get the following error:
Error: Required token could not be found
Make sure you configured a credentials block for app.terraform.io in your CLI
Follow the instructions here https://www.terraform.io/docs/cloud/free/index.html and create a file ~/.terraformrc (in linux) with an API token.
You would like to get a list of the available images in Digital Ocean, in order to be able to use them in creating your Terraform IAC script.
By installing the command line tool doctl, (instructions here), according to the documentation (after authenticating) you can run:
But the available images are not listed. In order to be list all the images you have to add the –public option (as described here) :
doctl compute image list --public