File tree 2 files changed +52
-0
lines changed
2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : " google"
3
+ page_title : " Google: google_compute_instance_group"
4
+ sidebar_current : " docs-google-datasource-compute-instance-group"
5
+ description : |-
6
+ Get a Compute Instance Group within GCE.
7
+ ---
8
+
9
+ # google\_ compute\_ instance\_ group
10
+
11
+ Get a Compute Instance Group within GCE.
12
+ For more information, see [ the official documentation] ( https://cloud.google.com/compute/docs/instance-groups/#unmanaged_instance_groups )
13
+ and [ API] ( https://cloud.google.com/compute/docs/reference/latest/instanceGroups )
14
+
15
+ ```
16
+ data "google_compute_instance_group" "all" {
17
+ name = "instance-group-name"
18
+ zone = "us-central1-a"
19
+ }
20
+ ```
21
+
22
+ ## Argument Reference
23
+
24
+ The following arguments are supported:
25
+
26
+ * ` name ` - (Required) The name of the instance group.
27
+
28
+ * ` zone ` - (Required) The zone of the instance group.
29
+
30
+ - - -
31
+
32
+ * ` project ` - (Optional) The project in which the resource belongs. If it
33
+ is not provided, the provider project is used.
34
+
35
+ ## Attributes Reference
36
+
37
+ The following arguments are exported:
38
+
39
+ * ` description ` - Textual description of the instance group.
40
+
41
+ * ` instances ` - List of instances in the group.
42
+
43
+ * ` named_port ` - List of named ports in the group.
44
+
45
+ * ` network ` - The URL of the network the instance group is in.
46
+
47
+ * ` self_link ` - The URI of the resource.
48
+
49
+ * ` size ` - The number of instances in the group.
Original file line number Diff line number Diff line change 22
22
< li <%= sidebar_current ( "docs-google-datasource-compute-zones" ) %> >
23
23
< a href ="/docs/providers/google/d/google_compute_zones.html "> google_compute_zones</ a >
24
24
</ li >
25
+ < li <%= sidebar_current ( "docs-google-datasource-compute-instance-group" ) %> >
26
+ < a href ="/docs/providers/google/d/google_compute_instance_group.html "> google_compute_instance_group</ a >
27
+ </ li >
25
28
< li <%= sidebar_current ( "docs-google-datasource-container-versions" ) %> >
26
29
< a href ="/docs/providers/google/d/google_container_engine_versions.html "> google_container_engine_versions</ a >
27
30
</ li >
You can’t perform that action at this time.
0 commit comments