mirror of
https://github.com/ghndrx/GSP662.git
synced 2026-02-10 15:04:57 +00:00
Complete restructure
This commit is contained in:
15
modules/autoscale/main.tf
Normal file
15
modules/autoscale/main.tf
Normal file
@@ -0,0 +1,15 @@
|
||||
resource "google_compute_region_autoscaler" "fancy_fe_autoscaler" {
|
||||
name = "fancy-fe-autoscaler"
|
||||
target = google_compute_instance_group_manager.fancy_fe_mig.self_link
|
||||
cooldown_period_sec = 60
|
||||
load_balancing_utilization_target = 0.6
|
||||
max_replicas = 2
|
||||
}
|
||||
|
||||
resource "google_compute_region_autoscaler" "fancy_be_autoscaler" {
|
||||
name = "fancy-be-autoscaler"
|
||||
target = google_compute_instance_group_manager.fancy_be_mig.self_link
|
||||
cooldown_period_sec = 60
|
||||
load_balancing_utilization_target = 0.6
|
||||
max_replicas = 2
|
||||
}
|
||||
Reference in New Issue
Block a user