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.
Note
An environment cannot be updated if it's referenced in more than 20 deployment pipelines.
An environment cannot be updated if it's referenced in more than 20 deployment pipelines.
- Open the navigation menu and click Developer Services. Under DevOps, click Projects.
- On the DevOps Projects page, select the project for which you want to update an environment.
- On the details page of the project, from the left side, click Environments.
- On the Environments page, click the environment that you want to update.
- On the environment details page, click Edit.
- In the Edit environment panel, update the details as required.
- Click Save.
To update a deployment environment, run the
updatecommand:oci devops deploy-environment update --environment-idTo update a Kubernetes cluster deployment environment, run the
update-oke-cluster-environmentcommand:oci devops deploy-environment update-oke-cluster-environment --environment-idTo update an Instance group deployment environment, run the
update-compute-instance-environmentcommand:oci devops deploy-environment update-compute-instance-environment --environment-idTo update a Functions deployment environment, run the
update-function-environmentcommand:oci devops deploy-environment update-function-environment --environment-idTo get all the commands for
deploy-environment:oci devops deploy-environment -hTo get help for the
updatecommand:oci devops deploy-environment update -hTo update a deployment environment, use the
UpdateDeployEnvironmentoperation.