mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
785 B
785 B
layout | page_title | sidebar_current | description |
---|---|---|---|
Google: google_active_folder | docs-google-datasource-folder | Get a folder within GCP. |
google_active_folder
Get an active folder within GCP by display_name
and parent
.
Example Usage
data "google_active_folder" "department1" {
display_name = "Department 1"
parent = "organizations/1234567"
}
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.