You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/google_iam_policy.html.markdown
+4-4
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ data "google_iam_policy" "admin" {
26
26
role = "roles/storage.objectViewer"
27
27
28
28
members = [
29
-
"user:jane@example.com",
29
+
"user:alice@gmail.com",
30
30
]
31
31
}
32
-
32
+
33
33
audit_config {
34
34
service = "cloudkms.googleapis.com"
35
35
audit_log_configs = [
@@ -73,11 +73,11 @@ each accept the following arguments:
73
73
See the [IAM Roles](https://cloud.google.com/compute/docs/access/iam) documentation for a complete list of roles.
74
74
Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
75
75
76
-
*`members` (Required) - An array of identites that will be granted the privilege in the `role`.
76
+
*`members` (Required) - An array of identites that will be granted the privilege in the `role`. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
77
77
Each entry can have one of the following values:
78
78
***allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. It **can't** be used with the `google_project` resource.
79
79
***allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. It **can't** be used with the `google_project` resource.
***user:{emailid}**: An email address that represents a specific Google account. For example, [email protected].
81
81
***serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
82
82
***group:{emailid}**: An email address that represents a Google group. For example, [email protected].
83
83
***domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
@@ -36,7 +40,7 @@ The following arguments are supported:
36
40
37
41
*`role` - (Required) The role that should be applied.
38
42
39
-
*`members` - (Required) A list of users that the role should apply to.
43
+
*`members` - (Required) A list of users that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
@@ -33,8 +33,8 @@ The following arguments are supported:
33
33
34
34
*`role` - (Required) The role that should be applied.
35
35
36
-
*`member` - (Required) The user that the role should apply to.
37
-
36
+
*`member` - (Required) The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
37
+
38
38
## Attributes Reference
39
39
40
40
In addition to the arguments listed above, the following computed attributes are
@@ -41,10 +45,11 @@ The following arguments are supported:
41
45
42
46
*`members` (Required) - An array of identites that will be granted the privilege in the `role`.
43
47
Each entry can have one of the following values:
44
-
***user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
48
+
***user:{emailid}**: An email address that is associated with a specific Google account. For example, [email protected].
45
49
***serviceAccount:{emailid}**: An email address that represents a service account. For example, [email protected].
46
50
***group:{emailid}**: An email address that represents a Google group. For example, [email protected].
47
51
***domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
52
+
* For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding
48
53
49
54
*`role` - (Required) The role that should be applied. Only one
50
55
`google_folder_iam_binding` can be used per role. Note that custom roles must be of the format
0 commit comments