google_compute_target_pool

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a resource named "google_compute_target_pool" with the following properties:

    name : "example-name"

    description : "example-description"

    instances : A list of three instances. The first instance is in us-central1-a, the second instance is in us-central1-b, and the final instance is in any other region.

    health_checks : A list of two health checks.

    Shortcut: tf_google_compute_target_pool

    resource "google_compute_target_pool" "${MyResource}" {
       name = "example-name"
       description = "example-description"
    
       instances = [
           "us-central1-a/myinstance1",
           "us-central1-b/myinstance2",
       ]
    
       health_checks = [
           "\${google_compute_http_health_check.default.name}",
       ]
    }
    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.