Closed ekanai closed 4 years ago
Can not get credentials on Fargate 1.4.
Fluentd setting
<match rails> @type s3 @id rails_s3 <instance_profile_credentials> </instance_profile_credentials> s3_region "#{ENV['S3_REGION']}" .... </match>
Environment variables AWS_CONTAINER_CREDENTIALS_RELATIVE_URI: true
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI: true
Log
{ "time": "2020-08-21 05:56:57 +0000", "level": "error", "message": "unexpected error error_class=RuntimeError error=\"can't call S3 API. Please check your credentials or s3_region configuration. error = #<Aws::Errors::MissingCredentialsError: unable to sign request without credentials set>\"", "worker_id": 0 }
note On Fardate v1.3, i can get credentials.
Does anyone know how to avoid this issue? We, s3 plugin maintainer, don't have fargate experience.
This was due to setting A. The plugin is not bad due to the settings, so close it.
Can not get credentials on Fargate 1.4.
Fluentd setting
Environment variables
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI: true
Log
note On Fardate v1.3, i can get credentials.