Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS CLI: The config profile (example) could not be found

I'm trying to setup an new named profile using the awscli

I used aws configure --profile example to set the profile up but I left everything as the default

Now I'm getting The config profile (example) could not be found

I even tried creating and modifying the ~\.aws\config file with the following but to no avail

[example]
region=eu-west-1
output=text

Any command I try to execute will result in the above error

I also tried reinstalling the awscli

Help is much appreciated, thanks!

like image 534
jeanfrg Avatar asked Feb 10 '26 13:02

jeanfrg


1 Answers

FWIR if you leave the defaults then it won't create the profile since the defaults are all NONE.

Your format is not quite correct for creating the profile configuration manually.

It should be

[profile example]
region=eu-west-1
output=text
like image 98
Cheruvian Avatar answered Feb 13 '26 16:02

Cheruvian