Updating the Git Configuration Source Provider for a Stack

Update the Git configuration source provider used by a stack in Resource Manager. The updated configuration source provider is used when you run jobs on the stack.

For more information about configuration source providers, see Managing Configuration Source Providers.

    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
    2. Choose a compartment that you have permission to work in (on the left side of the page).
    3. Click the name of the stack that you want.
      The Stack details page opens.
    4. Click Edit.
    5. In the Stack information page of the Edit stack dialog box, change the properties you want.
      For property details related to Git configuration source providers, see Creating a Stack from Git.
    6. Click Next twice.
    7. Click Save changes.

    The Stack details page opens.

  • Use the oci resource-manager stack update-from-git-provider command and required parameters to update a stack's configuration source provider.

    oci resource-manager stack update-from-git-provider [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Resource Manager.

  • Use the UpdateStack operation to update the Git configuration source provider used by a stack.

    For an example of the configSource part of the request, see UpdateGitConfigSourceDetails.