google_compute_firewall

    0

    1

    lucycodes42

    Terraform snippets

    The code snippet creates a new resource called example-name with the following properties:

    name: "example-name"

    network: "example-network"

    allow:

    protocol: "icmp"

    Shortcut: tf_google_compute_firewall

    resource "google_compute_firewall" "${MyResource}" {
       name = "example-name"
       network = "example-network"
       allow {
           protocol = "icmp"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.