Adding newly created Amazon ECS Service in CodeDeploy Deployment Group
Open the CodeDeploy console and choose deployed Application name.
Under Deployment groups, select Deployment Group name and Edit it.
Under Environment configuration, in Choose an ECS service name, select AWS Fargate launch type service created above.
Under Advanced - optional, in Rollbacks, check mark Disable rollbacks as we are testing the deployment.
Choose Save changes