This data source provides details about a specific Repository Object Content resource in Oracle Cloud Infrastructure Devops service.
Retrieve contents of a specified object.
data "oci_devops_repository_object_content" "test_repository_object_content" {
#Required
repository_id = oci_devops_repository.test_repository.id
sha = var.repository_object_content_sha
#Optional
file_path = var.repository_object_content_file_path
}
The following arguments are supported:
file_path
- (Optional) A filter to return only commits that affect any of the specified paths.repository_id
- (Required) Unique repository identifier.sha
- (Required) The SHA of a blob or tree.The following attributes are exported: