google_compute_image

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource named "example-name" which will use a google_compute_image object to access a disk image named "my-disk-image-tarball.tar.gz".

    Shortcut: tf_google_compute_image

    resource "google_compute_image" "${MyResource}" {
       name = "example-name"
       raw_disk {
           source = "https://storage.googleapis.com/my-bucket/my-disk-image-tarball.tar.gz"
       }
    }
    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.