0
1
llucycodes42
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
}
}
}