Change deployment group settings with CodeDeploy (original) (raw)

You can use the CodeDeploy console, the AWS CLI, or the CodeDeploy APIs to change the settings of a deployment group.

Warning

Do not use these steps if you want the deployment group to use a not-yet-created custom deployment group. Instead, follow the instructions in Create a Deployment Configuration, and then return to this topic. Do not use these steps if you want the deployment group to use a different, not-yet-created service role. The service role must trust CodeDeploy with, at minimum, the permissions described in Step 2: Create a service role for CodeDeploy. To create and configure a service role with the correct permissions, follow the instructions in Step 2: Create a service role for CodeDeploy, and then return to this topic.

Topics

Change deployment group settings (console)

To use the CodeDeploy console to change deployment group settings:

  1. Sign in to the AWS Management Console and open the CodeDeploy console at https://console.aws.amazon.com/codedeploy.
  2. In the navigation pane, expand Deploy, then choose Applications.
  3. In the list of applications, choose the name of the application that is associated with the deployment group you want to change.
Note

If no entries are displayed, make sure the correct region is selected. On the navigation bar, in the region selector, choose one of the regions listed in Region and Endpoints in the_AWS General Reference_. CodeDeploy is supported in these regions only. 4. Choose the Deployment groups tab, and then choose the name of the deployment group you want to change. 5. On the Depoyment group page, chooseEdit. 6. Edit the deployment group options as needed.
For information about deployment group components, see Create a deployment group with CodeDeploy. 7. Choose Save changes.

Change deployment group settings (CLI)

To use the AWS CLI to change deployment group settings, call theupdate-deployment-group command, specifying: