Skip to content
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

ResourceInitializationError: failed to validate logger args: create stream has been retried 1 times: failed to create Cloudwatch log stream: MissingEndpoint: 'Endpoint' configuration is required for this service : exit status 1 #74

Closed
Droshow opened this issue Jun 4, 2022 · 3 comments

Comments

@Droshow
Copy link

Droshow commented Jun 4, 2022

Hello Guys,

I think one last piece is missing for me to make this Pete's masterpiece to work.

I think Docker and Cloudwatch are not communicating well, but when I check TaskDefinition , it seems that containerDefinitions are set correctly. Something I might have missed during Terraform apply, or what might it be. When I check Cloudwatch log groups, indeed I do not see any streams, but isn't this started by aws logger?
Thank you

"ipcMode": null,
"executionRoleArn": "arn:aws:iam::961477247679:role/inexhaustible_WordpressTaskRole",
"containerDefinitions": [
{
"dnsSearchDomains": null,
"environmentFiles": null,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "/aws/ecs/inexhaustible-serverless-wordpress-container",
"awslogs-region": "http://inex.life.s3-website-us-east-1.amazonaws.com",
"awslogs-stream-prefix": "ecs"
}
},

@Droshow
Copy link
Author

Droshow commented Jun 4, 2022

I think the problem was in "awslogs-region" cuz when I just set it to region, the container started to run without any issues.

@Droshow
Copy link
Author

Droshow commented Jun 4, 2022

it was me screwing up something during implementation...

@Droshow Droshow closed this as completed Jun 7, 2022
@Droshow
Copy link
Author

Droshow commented Jun 7, 2022

close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant