Skip to content

Commit

Permalink
Update Region Backend Service docs example to use a region instance g…
Browse files Browse the repository at this point in the history
…roup manager. (hashicorp#533)

* Update compute_region_backend_service to use a regional instance group manager in the example

* Update the attributes section
  • Loading branch information
rosbo authored Oct 5, 2017
1 parent a0dffbc commit 53372d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/r/compute_region_backend_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ resource "google_compute_region_backend_service" "foobar" {
session_affinity = "CLIENT_IP"
backend {
group = "${google_compute_instance_group_manager.foo.instance_group}"
group = "${google_compute_region_instance_group_manager.foo.instance_group}"
}
health_checks = ["${google_compute_health_check.default.self_link}"]
}
resource "google_compute_instance_group_manager" "foo" {
resource "google_compute_region_instance_group_manager" "foo" {
name = "terraform-test"
instance_template = "${google_compute_instance_template.foobar.self_link}"
base_instance_name = "foobar"
zone = "us-central1-f"
region = "us-central1"
target_size = 1
}
Expand Down Expand Up @@ -102,7 +102,7 @@ The following arguments are supported:
The `backend` block supports:

* `group` - (Required) The name or URI of a Compute Engine instance group
(`google_compute_instance_group_manager.xyz.instance_group`) that can
(`google_compute_region_instance_group_manager.xyz.instance_group`) that can
receive traffic. Instance groups must contain at least one instance.

* `balancing_mode` - (Optional) Defines the strategy for balancing load.
Expand Down

0 comments on commit 53372d2

Please sign in to comment.