Skip to content

Commit f540ce4

Browse files
feat(compute): Remove provider=google-beta tag from mig standby_policy example.
# Conflicts: # compute/zonal_mig_standby_policy/main.tf
1 parent 5f32a74 commit f540ce4

File tree

1 file changed

+6
-7
lines changed
  • compute/zonal_mig_standby_policy

1 file changed

+6
-7
lines changed

compute/zonal_mig_standby_policy/main.tf

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ terraform {
2424
required_providers {
2525
google = {
2626
source = "hashicorp/google"
27-
version = ">= v6.16.0"
27+
version = ">= 6.16.0"
2828
}
2929
}
3030
}
@@ -45,12 +45,11 @@ resource "google_compute_instance_template" "default" {
4545

4646
# [START compute_zonal_instance_group_manager_standby_policy_tag]
4747
resource "google_compute_instance_group_manager" "default" {
48-
name = "standby-mig"
49-
base_instance_name = "test"
50-
target_size = 2
51-
target_suspended_size = 1
52-
target_stopped_size = 2
53-
zone = "us-central1-f"
48+
provider = google-beta
49+
name = "standby-mig"
50+
base_instance_name = "test"
51+
target_size = 3
52+
zone = "us-central1-f"
5453

5554
version {
5655
instance_template = google_compute_instance_template.default.id

0 commit comments

Comments
 (0)