11/* *
2- * Copyright 2024 Google LLC
3- *
4- * Licensed under the Apache License, Version 2.0 (the "License");
5- * you may not use this file except in compliance with the License.
6- * You may obtain a copy of the License at
7- *
8- * http://www.apache.org/licenses/LICENSE-2.0
9- *
10- * Unless required by applicable law or agreed to in writing, software
11- * distributed under the License is distributed on an "AS IS" BASIS,
12- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- * See the License for the specific language governing permissions and
14- * limitations under the License.
15- */
2+ * Copyright 2025 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
1616
1717/* *
1818* Made to resemble:
@@ -50,8 +50,9 @@ resource "google_compute_instance_template" "default" {
5050
5151# [START compute_rmig_cross_zone_repair]
5252resource "google_compute_region_instance_group_manager" "default" {
53- name = " czr-rmig"
54- base_instance_name = " tf-test-czr-rmig"
53+ provider = google- beta
54+ name = " example-rmig"
55+ base_instance_name = " example-rmig-instance"
5556 region = " us-central1"
5657
5758 target_size = 3
@@ -65,7 +66,7 @@ resource "google_compute_region_instance_group_manager" "default" {
6566 default_action_on_failure = " REPAIR"
6667 force_update_on_repair = " YES"
6768 on_repair {
68- allow_changing_zone = " YES"
69+ allow_changing_zone = " YES"
6970 }
7071 }
7172
0 commit comments