amazon-cloudwatch-agent
amazon-cloudwatch-agent copied to clipboard
Common-Config.toml File doesn't work
Hello!
I'm currently working on creating a Cloudwatch agent on my Linux 2 Cloud Desktop, and when I try to start the agent, it works when I manually set the credentials from "default" with
aws configure AmazonCloudWatchAgent.
If I try using common-config.toml in order to set the credentials to point to default, the credentials don't work though. Are the credentials supposed to look like this?
[credentials]
shared_credential_profile = "default"
shared_credential_file = "/root/.aws/credentials"
I also tried keeping shared_credential_file commented out or setting it to "~/.aws/credentials"
Hi @suesther, thanks for bringing up this issue. For the agent configuration, did you set the run_as_user key to a non-root user?