File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
compute/rmig_instance_flexibility_policy Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ resource "google_compute_instance_template" "default" {
3838
3939# [START compute_region_igm_instance_flexibility_policy]
4040resource "google_compute_region_instance_group_manager" "default" {
41- name = " flex-igm"
42- base_instance_name = " tf-test-flex-igm"
43- region = " us-central1"
41+ name = " flex-igm"
42+ base_instance_name = " tf-test-flex-igm"
43+ region = " us-central1"
4444
45- target_size = 3
45+ target_size = 3
4646 distribution_policy_target_shape = " ANY_SINGLE_ZONE"
4747
4848 version {
@@ -51,19 +51,19 @@ resource "google_compute_region_instance_group_manager" "default" {
5151
5252 instance_flexibility_policy {
5353 instance_selections {
54- name = " best-choice"
55- rank = 1
56- machine_types = [ " n1-standard-1" , " n1-standard-2" ]
54+ name = " best-choice"
55+ rank = 1
56+ machine_types = [" n1-standard-1" , " n1-standard-2" ]
5757 }
5858 instance_selections {
59- name = " still-ok"
60- rank = 2
61- machine_types = [ " n2-standard-1" ]
59+ name = " still-ok"
60+ rank = 2
61+ machine_types = [" n2-standard-1" ]
6262 }
6363 instance_selections {
64- name = " if-nothing-else"
65- rank = 3
66- machine_types = [ " e2-standard-2" ]
64+ name = " if-nothing-else"
65+ rank = 3
66+ machine_types = [" e2-standard-2" ]
6767 }
6868 }
6969
You can’t perform that action at this time.
0 commit comments