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. On the Stacks list page, find the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
    2. From the Actions menu (Actions Menu) for the stack, select Edit.
    3. On the Edit stack page, select a different Bitbucket Cloud configuration source provider.
      If you need to create a Bitbucket Cloud configuration source provider, select Create configuration source provider and enter values. For information about these fields, see Creating a Bitbucket Cloud Configuration Source Provider.
    4. Select the Bitbucket Cloud workspace, repository, and branch.
    5. Change other values as needed.
      For information about the fields, see Creating a Stack from Bitbucket Cloud.
    6. Select Next twice.
    7. Select 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.