- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
This seems like it would work, specifically this makes sense from a config file on S3 perspective, as you can trigger the Lambda on upload. I would recommend checking out the docs here about creating requests to modify ECS[1]. It also contains reference requests in multiple languages using the AWS SDK. Eg here is a link for Javascript[2].
For troubleshooting the failed deployment, I'd recommend looking into CloudWatch logs[3][4].
[1]https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
[2]https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ECS.html#updateService-property
[3]https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_cloudwatch_logs.html
[4]https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-logging-monitoring.html
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
Thanks for the quick answer. After some experimentation, I was able to solve the issue.