Project: the project’s CodeBuild project (Source = CodePipeline)
Environment variables: as needed for this project’s build
Buildspec: use the repository’s existing buildspec.yml
CodePipeline Set up guidelines
On choosing pipeline creation option section, choose Build custom pipeline.
In pipeline settings tab, specify the pipeline name and use default settings for the pipeline.
Turn on webhook events and add filter type of tags. Make sure to set the tag patterns of “v*”.
Add frontend/backend project using AWS CodeBuild in build stage.
For the deploy stage, choose Amazon ECS as deploy provider. Specify its cluster and service to deploy. Also make sure to fill in the image definition file form like the image.