google_compute_autoscaler

    0

    1

    lucycodes42

    Terraform snippets

    The code declares a resource named "google_compute_autoscaler" with the following configuration:

    name: "example-name"

    zone: "example-zone"

    target: "example-target"

    autoscaling_policy: { max_replicas: 5 min_replicas: 1 cooldown_period: 60 cpu_utilization: { target: 0.

    Shortcut: tf_google_compute_autoscaler

    resource "google_compute_autoscaler" "${MyResource}" {
       name = "example-name"
       zone = "example-zone"
       target = "example-target"
       autoscaling_policy = {
           max_replicas    = 5
           min_replicas    = 1
           cooldown_period = 60
    
           cpu_utilization {
               target = 0.5
           }
       }
    }
    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.