-
Notifications
You must be signed in to change notification settings - Fork 619
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
Unable to download firelens s3 config file #2354
Comments
Thanks for reaching out to us, I'll try to see if I can repro this on my end. Which region is your task running in? and in which region is the S3 bucket located? |
It is all in us-east-1. |
Thanks for reporting. I found that there's a bug such that bucket in us-east-1 is not working. Will work on a fix for it. As a workaround, you should be able to use a bucket that's in a region other than us-east-1. |
This is fixed in agent 1.37.0. Please update to latest version, and if you still find issue let us know. Thanks. |
Summary
My ECS service gets stuck starting and stopping a task over and over with this stop reason:
Unable to download firelens s3 config file: unable to download s3 config extra.conf from bucket mybucket: MissingRegion: could not find region configuration
I have given both the task role and execution role the S3 permissions needed to download the config file. I don't think it is an S3 issue, and I'm not sure what "region configuration" it is referring to.
Description
I am trying to use FireLens to output logs from the container into 2 different CloudWatch log streams. I updated my task by adding a new firelens container definition, and updating my app to use firelens for logging. The firelens container has a
FirelensConfiguration
with a config file in S3.It has all the S3 permissions it should need.
This is the firelens container definition:
Both the task role and the execution role have this S3 policy added to them, suggested by this guide:
Expected Behavior
ECS service successfully starts the the tasks
Observed Behavior
ECS service gets stuck starting and stopping a task over and over with this stop reason:
Unable to download firelens s3 config file: unable to download s3 config extra.conf from bucket mybucket: MissingRegion: could not find region configuration
Environment Details
Here is the entire task definition:
The text was updated successfully, but these errors were encountered: