AWS Code Build project:
- Go to AWS Codebuild console.
- Click on create build project.
- Enter Name of build project.
- Add appropriate tags to resource.
- Select source as per requirement(S3/ aws codecommit/ github) feel free to fork this sample project.
(Refer to below screenshot)
- Select environment details as per below screenshot.
- Can select existing service role or create new one.
- Keep your buildspec.yml file in root of your repository.
- If required select artifact type as S3 also select bucket for same.
- Also disable cloudwatch logs if not required.
- click on create build project button.
Thank you!!!