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.
When you update a stack, you can also update its tags. For more information about tagging, see Resource Tags.
Use the
oci resource-manager stack update-from-git-providercommand and required parameters to update a stack's configuration source provider.oci resource-manager stack update-from-git-provider --stack-id <stack_OCID> --config-source-configuration-source-provider-id <Git_configuration_source_provider_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 Git configuration source provider used by a stack.
For an example of the
configSourcepart of the request, see UpdateGitConfigSourceDetails.