google_iam_policy

    0

    1

    lucycodes42

    Terraform snippets

    data "google_iam_policy" "${admin}" { binding { role = "roles/compute.instanceAdmin" members = [ "serviceAccount:your-custom-sa@your-project.iam.gserviceaccount.com" ] } binding { role = "roles/storage.objectViewer" members = [ "user:evanbrown@google.

    Shortcut: tf_google_iam_policy

    data "google_iam_policy" "${admin}" {
       binding {
           role = "roles/compute.instanceAdmin"
               members = [
                   "serviceAccount:your-custom-sa@your-project.iam.gserviceaccount.com",
               ]
       }
       binding {
           role = "roles/storage.objectViewer"
           members = [
               "user:evanbrown@google.com",
           ]
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.