Data Source: oci_identity_groups

This data source provides the list of Groups in Oracle Cloud Infrastructure Identity service.

Lists the groups in your tenancy. You must specify your tenancy’s OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy’s OCID and User’s OCID.

Example Usage

data "oci_identity_groups" "test_groups" {
	#Required
	compartment_id = var.tenancy_ocid

	#Optional
	name = var.group_name
	state = var.group_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Group Reference

The following attributes are exported: