Execution of the create-pipeline command

Now, execute the create-pipeline command with the -cli-input-json parameter. Here, the parameter should be the JSON file you have created. To create the PacktPipelineSecondDemo pipeline, you must specify this name in the JSON file as the value parameter.

You must include file:// before the JSON filename, aws codepipeline create-pipeline --cli-input-json file://mypackt.json This command will return the entire pipeline structure. You can verify your pipeline from the AWS CodePipeline console or use the get-pipeline-state command.

We have successfully completed AWS CodeDeploy and AWS CodePipeline. Now, we will look at AWS CodeStar.

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.