CI/CD using AWS CodePipeline
:
AWS CodeBuild
connect Github 2AWS Beanstalk
using images from ECR
, Multi-container docker platformDeployment completed, but with errors: Failed to deploy application. No ecs task definition (or empty definition file) found in environment
app.zip
|
--Dockerrun.aws.json
|
--nginx
|
--default.conf
Dockerrun.aws.json
Content here.
I tried to deploy only Elastic Beanstalk using images after building and file app.zip
, and surprisingly it worked.
Thanks in advance!
I solved this issue.
I thought that EB will read the file Dockerrun.aws.json
from zip file I uploaded.
However, EB using the Docker platform read that file from the image. I put the file Dockerrun
to the image and it worked.