Data Source: oci_devops_repository_ref

This data source provides details about a specific Repository Ref resource in Oracle Cloud Infrastructure Devops service.

Retrieves a repository’s reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like “heads/” or “tags/”.

Example Usage

data "oci_devops_repository_ref" "test_repository_ref" {
	#Required
	ref_name = var.repository_ref_ref_name
	repository_id = oci_devops_repository.test_repository.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: