Editing an Environment

Update the details of an environment, such as its name and description.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

An environment cannot be updated if it's referenced in more than 20 deployment pipelines.
    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. On the DevOps Projects page, select the project for which you want to update an environment.
    3. On the details page of the project, from the left side, click Environments.
    4. On the Environments page, click the environment that you want to update.
    5. On the environment details page, click Edit.
    6. In the Edit environment panel, update the details as required.
    7. Click Save.
  • To update a deployment environment, run the update command:

    oci devops deploy-environment update --environment-id

    To update a Kubernetes cluster deployment environment, run the update-oke-cluster-environment command:

    oci devops deploy-environment update-oke-cluster-environment --environment-id

    To update an Instance group deployment environment, run the update-compute-instance-environment command:

    oci devops deploy-environment update-compute-instance-environment --environment-id

    To update a Functions deployment environment, run the update-function-environment command:

    oci devops deploy-environment update-function-environment --environment-id

    To get all the commands for deploy-environment:

    oci devops deploy-environment -h

    To get help for the update command:

    oci devops deploy-environment update -h
  • To update a deployment environment, use the UpdateDeployEnvironment operation.