@@ -15,24 +15,24 @@ and [API](https://cloud.google.com/compute/docs/reference/latest/instanceGroups)
1515
1616## Example Usage
1717
18- Empty instance group
18+ ### Empty instance group
1919```
20- resource "google_compute_instance_group" "foobar " {
20+ resource "google_compute_instance_group" "test " {
2121 name = "terraform-test"
2222 description = "Terraform test instance group"
2323 zone = "us-central1-a"
2424}
2525```
2626
27- With instances and named ports
27+ ### With instances and named ports
2828```
29- resource "google_compute_instance_group" "foobar " {
30- name = "terraform-test "
29+ resource "google_compute_instance_group" "webservers " {
30+ name = "terraform-webservers "
3131 description = "Terraform test instance group"
32- instances = [
33- "${google_compute_instance.test.self_link}",
34- "${google_compute_instance.test2.self_link}"
35- ]
32+ instances = [
33+ "${google_compute_instance.test.self_link}",
34+ "${google_compute_instance.test2.self_link}"
35+ ]
3636 named_port {
3737 name = "http"
3838 port = "8080"
@@ -70,15 +70,12 @@ Supported characters include lowercase letters, numbers, and hyphens.
7070The ` named_port ` block supports:
7171
7272* ` name ` - The name which the port will be mapped to.
73-
7473* ` port ` - The port number to map the name to.
7574
7675## Attributes Reference
7776
7877The following attributes are exported:
7978
8079* ` network ` - The network the instance group is in.
81-
8280* ` size ` - The number of instances in the group.
83-
8481* ` self_link ` - The URL of the created resource.
0 commit comments