blob: 462e6776f432e11c7ea1051e13eb441c967531ce [file] [log] [blame]
---
# ----------------------------------------------------------------------------
#
# *** AUTO GENERATED CODE *** Type: MMv1 ***
#
# ----------------------------------------------------------------------------
#
# This file is automatically generated by Magic Modules and manual
# changes will be clobbered when the file is regenerated.
#
# Please read more about how to change this file in
# .github/CONTRIBUTING.md.
#
# ----------------------------------------------------------------------------
subcategory: "Apigee"
description: |-
A datasource to retrieve the IAM policy state for Apigee Environment
---
# `google_apigee_environment_iam_policy`
Retrieves the current IAM policy data for environment
## example
```hcl
data "google_apigee_environment_iam_policy" "policy" {
org_id = google_apigee_environment.apigee_environment.org_id
env_id = google_apigee_environment.apigee_environment.name
}
```
## Argument Reference
The following arguments are supported:
* `env_id` - (Required) Used to find the parent resource to bind the IAM policy to
## Attributes Reference
The attributes are exported:
* `etag` - (Computed) The etag of the IAM policy.
* `policy_data` - (Required only by `google_apigee_environment_iam_policy`) The policy data generated by
a `google_iam_policy` data source.