I have created a CI/CD pipeline with AWS CodePipeline, CodeBuild and Bitbucket as a source. I have done this using console, and that worked for me. But now I want to create the same CICD with AWS CLI. I have followed the official guide and I have created CodeBuild project successfully.
My Problem
Now I have tried to create AWS CodePipeline but the json file is very confusing. There is no proper flow and not enough description for fields described in the JSON file. I also googled it but didn't get any related result. Can someone tell me how to create proper json formatted file to create CodePipeline with Bitbucket as a source?
CodePudding user response:
You can do this guided by official AWS documentation.
CodePipeline User Guide:
https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html
Bitbucket CodePipeline connection user guide: