mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Fix some formatting to be 0.12-ready (#2800)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
e2d2bf4806
commit
50af33999e
@ -256,7 +256,7 @@ resource "google_compute_autoscaler" "foobar" {
|
|||||||
max_replicas = 5
|
max_replicas = 5
|
||||||
min_replicas = 1
|
min_replicas = 1
|
||||||
cooldown_period = 60
|
cooldown_period = 60
|
||||||
cpu_utilization = {
|
cpu_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@ resource "google_compute_autoscaler" "foobar" {
|
|||||||
max_replicas = 10
|
max_replicas = 10
|
||||||
min_replicas = 1
|
min_replicas = 1
|
||||||
cooldown_period = 60
|
cooldown_period = 60
|
||||||
cpu_utilization = {
|
cpu_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -296,10 +296,10 @@ resource "google_compute_autoscaler" "foobar" {
|
|||||||
max_replicas = 10
|
max_replicas = 10
|
||||||
min_replicas = 1
|
min_replicas = 1
|
||||||
cooldown_period = 60
|
cooldown_period = 60
|
||||||
cpu_utilization = {
|
cpu_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
load_balancing_utilization = {
|
load_balancing_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
metric {
|
metric {
|
||||||
|
@ -257,7 +257,7 @@ func testAccComputeInstanceGroup_updated(n string, size int64, instanceGroup *co
|
|||||||
// Cannot check the target pool as the instance creation is asynchronous. However, can
|
// Cannot check the target pool as the instance creation is asynchronous. However, can
|
||||||
// check the target_size.
|
// check the target_size.
|
||||||
if instanceGroup.Size != size {
|
if instanceGroup.Size != size {
|
||||||
return fmt.Errorf("instance count incorrect")
|
return fmt.Errorf("instance count incorrect. saw real value %v instead of expected value %v", instanceGroup.Size, size)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
@ -2860,8 +2860,6 @@ resource "google_compute_instance" "foobar" {
|
|||||||
subnetwork_range_name = "${google_compute_subnetwork.inst-test-subnetwork.secondary_ip_range.1.range_name}"
|
subnetwork_range_name = "${google_compute_subnetwork.inst-test-subnetwork.secondary_ip_range.1.range_name}"
|
||||||
ip_cidr_range = "10.1.0.0/20"
|
ip_cidr_range = "10.1.0.0/20"
|
||||||
}
|
}
|
||||||
]
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}`, network, subnet, instance)
|
}`, network, subnet, instance)
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ resource "google_compute_region_autoscaler" "foobar" {
|
|||||||
max_replicas = 5
|
max_replicas = 5
|
||||||
min_replicas = 1
|
min_replicas = 1
|
||||||
cooldown_period = 60
|
cooldown_period = 60
|
||||||
cpu_utilization = {
|
cpu_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -244,7 +244,7 @@ resource "google_compute_region_autoscaler" "foobar" {
|
|||||||
max_replicas = 10
|
max_replicas = 10
|
||||||
min_replicas = 1
|
min_replicas = 1
|
||||||
cooldown_period = 60
|
cooldown_period = 60
|
||||||
cpu_utilization = {
|
cpu_utilization {
|
||||||
target = 0.5
|
target = 0.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user