Updating the Bitbucket Cloud Configuration Source Provider for a Stack

Update the Bitbucket Cloud 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. On the Stacks page, select the compartment that contains the stack that you want.
    3. Click the name of the stack that you want.
    4. On the Stack details page, go to Edit and then select Edit stack.
    5. On the Edit stack page, select a different Bitbucket Cloud configuration source provider.
      If you need to create a Bitbucket Cloud configuration source provider, click Create configuration source provider and enter values. For information about these fields, see Creating a Bitbucket Cloud Configuration Source Provider.
    6. Select the Bitbucket Cloud workspace, repository, and branch.
    7. Change other values as needed.
      For information about the fields, see Creating a Stack from Bitbucket Cloud.
    8. Click Next twice.
    9. Click Save changes.
  • Use the oci resource-manager stack update-from-bitbucket-cloud command and required parameters to update a stack's Bitbucket Cloud configuration source provider.

    oci resource-manager stack update-from-bitbucket-cloud --config-source-configuration-source-provider-id <Bitbucket_Cloud_configuration_source_provider_OCID> --stack-id <stack_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.

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

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