Data Source: oci_devops_repository_ref

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

This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has ‘/’. This will be replaced by “/repositories/{repositoryId}/refs”. 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: