google_folders

Retrieve information about a set of folders based on a parent ID. See the REST API for more details.

Example Usage - searching for folders at the root of an org

data "google_folders" "my-org-folders" {
  parent_id = "organizations/${var.organization_id}"
}

data "google_folder" "first-folder" {
  folder = data.google_folders.my-org-folders.folders[0].name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

The folders block supports: