oci_devops_repository_protected_branch_management

This resource provides the Repository Protected Branch Management resource in Oracle Cloud Infrastructure Devops service.

Creates a restriction on a branch that prevents certain actions on it.

Example Usage

resource "oci_devops_repository_protected_branch_management" "test_repository_protected_branch_management" {
	#Required
	branch_name = var.repository_protected_branch_management_branch_name
	repository_id = oci_devops_repository.test_repository.id

	#Optional
	protection_levels = var.repository_protected_branch_management_protection_levels
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Repository Protected Branch Management * update - (Defaults to 20 minutes), when updating the Repository Protected Branch Management * delete - (Defaults to 20 minutes), when destroying the Repository Protected Branch Management

Import

Import is not supported for this resource.