Delete a deployment group with CodeDeploy - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete a deployment group with CodeDeploy

You can use the CodeDeploy console, the Amazon CLI, or the CodeDeploy APIs to delete deployment groups associated with your Amazon 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 Amazon Web Services Management Console and open the CodeDeploy console at https://console.amazonaws.cn/codedeploy.

    Note

    Sign in with the same user that you set up in Getting started with CodeDeploy.

  2. In the navigation pane, expand Deploy, 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 Amazon 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.