github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/google/iam/AVD-GCP-0003/Terraform.md (about)

     1  
     2  Roles should be granted permissions and assigned to users
     3  
     4  ```hcl
     5   resource "google_project_iam_binding" "good_example" {
     6   	members = [
     7   		"group:test@example.com",
     8   		]
     9   }
    10   
    11   resource "google_storage_bucket_iam_member" "good_example" {
    12   	member = "serviceAccount:test@example.com"
    13   }
    14  ```
    15  
    16  #### Remediation Links
    17   - https://www.terraform.io/docs/providers/google/d/iam_policy.html#members
    18