Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Delete a Deployment Group with AWS CodeDeploy

You can use the AWS CodeDeploy console, the AWS CLI, or the AWS CodeDeploy APIs to delete deployment groups associated with your AWS account.

Warning

If you delete a deployment group, all details associated with that deployment group will also be deleted from AWS CodeDeploy. The instances used in the deployment group will remain unchanged. This action cannot be undone.

Delete a Deployment Group (Console)

To use the AWS CodeDeploy console to delete a deployment group:

  1. Sign in to the AWS Management Console and open the AWS CodeDeploy console at https://console.aws.amazon.com/codedeploy.

    Note

    Sign in with the same account or IAM user information you used in Getting Started.

  2. On the AWS CodeDeploy menu, choose Applications.

  3. In the list of applications, choose the name of the application associated with the deployment group.

  4. On the Application details page, in Deployment groups, choose the button next to the deployment group you want to delete.

  5. On the Actions menu, choose Delete.

  6. When prompted, type the name of the deployment group to confirm you want to delete it, and then choose Delete.

Delete a Deployment Group (CLI)

To use the AWS CLI to delete a deployment group, call the delete-deployment-group command, specifying:

  • The name of the application associated with the deployment group. To view a list of application names, call the list-applications command.

  • The name of the deployment group associated with the application. To view a list of deployment group names, call the list-deployment-groups command.