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

Delete a Deployment Group with CodeDeploy

You can use the CodeDeploy console, the AWS CLI, or the 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 CodeDeploy. The instances used in the deployment group will remain unchanged. This action cannot be undone.

Delete a Deployment Group (Console)

To use the CodeDeploy console to delete a deployment group:

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

    Note

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

  2. In the navigation pane, expand Deploy, and then 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, on the Deployment groups tab, choose the name of the deployment group you want to delete.

  5. On the Deployment details page, 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.