. Advertisement .
..3..
. Advertisement .
..4..
I always encounter the ”the config profile could not be found” error everywhen I want to config something with AWS.
"The config profile (myname) could not be found"
Can someone give me some advice to solve the issue?
Thanks!
The cause: When you trying to run an AWS CLI command with a profile that isn’t set up in your AWS credentials file will result in this error.
Solution: To solve the issue, make sure the
AWS_PROFILE
environment variable is set on the machine and either unset it or set it to a profile that exists in your credentials file.Depending on your operating system, use one of the following commands to print the environment variable: