Data Source: oci_devops_projects
This data source provides the list of Projects in Oracle Cloud Infrastructure Devops service.
Returns a list of projects.
Example Usage
data "oci_devops_projects" "test_projects" {
	#Required
	compartment_id = var.compartment_id
	#Optional
	id = var.project_id
	name = var.project_name
	state = var.project_state
}
Argument Reference
The following arguments are supported:
- compartment_id- (Required) The OCID of the compartment in which to list resources.
- id- (Optional) Unique identifier or OCID for listing a single resource by ID.
- name- (Optional) A filter to return only resources that match the entire name given.
- state- (Optional) A filter to return only Projects that matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
- project_collection- The list of project_collection.
Project Reference
The following attributes are exported:
- compartment_id- The OCID of the compartment where the project is created.
- defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:- {"foo-namespace.bar-key": "value"}
- description- Project description.
- freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:- {"bar-key": "value"}
- id- Unique identifier that is immutable on creation.
- lifecycle_details- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- name- Project name (case-sensitive).
- namespace- Namespace associated with the project.
- notification_config- Notification configuration for the project.- topic_id- The topic ID for notifications.
 
- state- The current state of the project.
- system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:- {"orcl-cloud.free-tier-retained": "true"}
- time_created- Time the project was created. Format defined by RFC3339.
- time_updated- Time the project was updated. Format defined by RFC3339.