-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Error when deploying to Fargate container that has awsfirelens log driver specified #164
Comments
Hi @kellemar, just to double check: The container does have the firelens configuration before you do the re-deployment? Could you share your task definition or the relevant parts, please? What versions of boto3 and botocore do you use? Please try to update boto3 and botocore manually in the environment you run ecs-deploy in:
Does this solve the issue? Thanks |
Hi Fabian, Thanks for the help. Yup, the container has the firelens deployment. Here are my container definitions with Terraform. I can update manually with either Terraform or in the AWS ECS console. But with Jenkins, and running ecs deploy, it fails with the above error. Also, I've just updated boto3 and botocore, and awscli too. Boto to 1.17 and 1.20 container_definitions = jsonencode( |
It also looks similar to this issue I found: |
Hello, did you manage to solve it? I have the same problem... |
Hi everyone, I can not reproduce this anymore in the current development version. The AWS FireLens configuration stays in tact, when deploying. Which version are you using @abertoldo? Best |
Hi all,
I'm getting this issue when trying to deploy a new task with an updated task definition. I have awsfirelens configured which sends my logs to an external source such as Datadog.
botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: When awsfirelens log driver is specified in log configuration, a firelens configuration object must be configured in one of the containers.
Is there anything I can do to resolve this?
The text was updated successfully, but these errors were encountered: