terraform-provider-google/website/docs/d/google_active_folder.html.markdown

35 lines
792 B
Markdown
Raw Normal View History

2017-11-15 21:14:03 +00:00
---
layout: "google"
page_title: "Google: google_active_folder"
2017-12-11 17:57:19 +00:00
sidebar_current: "docs-google-datasource-active-folder"
2017-11-15 21:14:03 +00:00
description: |-
Get a folder within GCP.
---
# google\_active\_folder
Get an active folder within GCP by `display_name` and `parent`.
2017-11-15 21:14:03 +00:00
## Example Usage
```tf
data "google_active_folder" "department1" {
display_name = "Department 1"
parent = "organizations/1234567"
2017-11-15 21:14:03 +00:00
}
```
## Argument Reference
The following arguments are supported:
* `display_name` - (Required) The folder's display name.
* `parent` - (Required) The resource name of the parent Folder or Organization.
## Attributes Reference
In addition to the arguments listed above, the following attributes are exported:
* `name` - The resource name of the Folder. This uniquely identifies the folder.