blob: 4cbc390b71fee89dac1ae08eee0bfc665c8ae55f [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: "Security Command Center (SCC)"
description: |-
A datasource to retrieve the IAM policy state for Security Command Center (SCC) Source
---
# `google_scc_source_iam_policy`
Retrieves the current IAM policy data for source
## example
```hcl
data "google_scc_source_iam_policy" "policy" {
source = google_scc_source.custom_source.name
}
```
## Argument Reference
The following arguments are supported:
* `source` - (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_scc_source_iam_policy`) The policy data generated by
a `google_iam_policy` data source.