I tried to use the plugin to write to CloudWatch (from Fargate), assuming the execution role would be used to write the logs (i.e., did not provide additional authentication details). This gave me an error
error_class=Aws::Errors::MissingCredentialsError error="unable to sign request without credentials set"
The error was gone when I created a user and explicitly passed in its auth details, everything worked as expected.
Expected Behavior or What you need to ask
Fargate execution role is used to have better security control.
Problem
I tried to use the plugin to write to CloudWatch (from Fargate), assuming the execution role would be used to write the logs (i.e., did not provide additional authentication details). This gave me an error
The error was gone when I created a user and explicitly passed in its auth details, everything worked as expected.
Expected Behavior or What you need to ask
Fargate execution role is used to have better security control.
Using Fluentd and CloudWatchLogs plugin versions
fluentd 1.7.4