-
Notifications
You must be signed in to change notification settings - Fork 101
Unable to download firelens s3 config file #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you upload your IAM permissions here for review? Also, did you ensure that the permissions match the documentation as described here? |
I added these statements to an S3 policy on both the task role and execution role
But I still get the same error. |
Can you upload you CF template as well? |
|
This is an ECS Agent issue: aws/amazon-ecs-agent#2354 A fix is being worked on. |
ecs agent 1.37.0 fixed this issue. I tested it today and can confirm it now works. |
I am using the send-to-multiple-destinations example. I added the log-router container definition and edited our app container definition to use the awsfirelens log driver.
When I update my CloudFormation template with these changes it gets stuck starting and stopping tasks over and over again. Each task gives the error
Unable to download firelens s3 config file: unable to download s3 config extra.conf from bucket mybucket: MissingRegion: could not find region configuration
The task role has all of the S3 permissions it should need, and I tried adding those permissions to the execution role as well, but I still get the same error. So I don't think this is an S3 error, but I am not sure what the
MissingRegion: could not find region configuration
error is referring to.The text was updated successfully, but these errors were encountered: