DEV Community

Karthik Sakthivel
Karthik Sakthivel

Posted on

AWS CodePipeline introduces the Commands action that enables customer to easily run shell commands as part of pipeline execution

What's new at AWS 📢

❇️ #AWSCodePipeline introduces the Commands action that enables customer to easily run shell commands as part of pipeline execution.

❇️ With this feature, you will have access to a secure compute environment backed by CodeBuild to run AWS CLI, third-party tools, or any shell commands.

❇️ The Commands action runs CodeBuild managed on-demand EC2 compute, and uses an Amazon Linux 2023 standard 5.0 image.

❇️ Before this launch, if you wanted to run all the above commands
🔸 Need to create a CodeBuild project
🔸 Configure the project with the appropriate commands
🔸 Add a CodeBuild action to pipeline to run the project.

❇️ Now onwards, simply add the Commands action to your pipeline, and define one or more commands as part of the action configuration.

❇️ Since Commands is like any other CodePipeline action, you can use the standard CodePipeline features of input / output artifacts and output variables.

♻️ Some of key considerations:
🔸 Commands action uses CodeBuild resources similar to the CodeBuild action
🔸 Builds run by the Commands action will count toward the concurrent build limits as configured for that account.
🔸 Timeout for builds with the Commands action is 55 minutes.
🔸 This feature is not support for cross-account or cross-Region actions.

♻️ Key note for Pricing:
🔸 Commands action will incur additional charges in AWS CodeBuild.

📌 Explore more about CodePipeline Features:
https://aws.amazon.com/codepipeline/features/?nc=sn&loc=2

Top comments (0)