Skip to content

Commit 70010a6

Browse files
authored
Add documentation for network tier (hashicorp#1593)
* Add documentation for network tier * Add named links to fwd rule docs * add documentation for network address * Fix typo
1 parent 752844a commit 70010a6

4 files changed

+22
-0
lines changed

docs/r/compute_address.html.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ The following arguments are supported:
5151
specified for INTERNAL address types. The IP address must be inside the
5252
specified subnetwork, if any.
5353

54+
* `network_tier` - (Optional) The [networking tier][network-tier] used for configuring
55+
this address. This field can take the following values: PREMIUM or STANDARD.
56+
If this field is not specified, it is assumed to be PREMIUM.
57+
5458
## Attributes Reference
5559

5660
In addition to the arguments listed above, the following computed attributes are
@@ -86,3 +90,5 @@ $ terraform import google_compute_address.default https://www.googleapis.com/com
8690
8791
$ terraform import google_compute_address.default projects/gcp-project/regions/us-central1/addresses/test-address
8892
```
93+
94+
[network-tier]: https://cloud.google.com/network-tiers/docs/overview

docs/r/compute_forwarding_rule.html.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ The following arguments are supported:
5151
should belong to. Only used for internal load balancing. If it is not
5252
provided, the default network is used.
5353

54+
* `network_tier` - (Optional) The [networking tier][network-tier] used for configuring
55+
this forwarding rule. This field can take the following values: PREMIUM or STANDARD.
56+
If this field is not specified, it is assumed to be PREMIUM.
57+
5458
* `port_range` - (Optional) A range e.g. "1024-2048" or a single port "1024"
5559
(defaults to all ports!). Only used for external load balancing.
5660
Some types of forwarding targets have constraints on the acceptable ports:
@@ -91,3 +95,5 @@ Forwarding rules can be imported using the `name`, e.g.
9195
```
9296
$ terraform import google_compute_forwarding_rule.default website-forwarding-rule
9397
```
98+
99+
[network-tier]: https://cloud.google.com/network-tiers/docs/overview

docs/r/compute_instance.html.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ The `access_config` block supports:
227227
See [the docs](https://cloud.google.com/compute/docs/instances/create-ptr-record) for how
228228
to become verified as a domain owner.
229229

230+
* `network_tier` - (Optional) The [networking tier][network-tier] used for configuring this instance.
231+
This field can take the following values: PREMIUM or STANDARD. If this field is
232+
not specified, it is assumed to be PREMIUM.
233+
230234
The `alias_ip_range` block supports:
231235

232236
* `ip_cidr_range` - The IP CIDR range represented by this alias IP range. This IP CIDR range
@@ -310,3 +314,4 @@ $ terraform import google_compute_instance.default gcp-project/us-central1-a/tes
310314
```
311315

312316
[custom-vm-types]: https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types
317+
[network-tier]: https://cloud.google.com/network-tiers/docs/overview

docs/r/compute_instance_template.html.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ The `access_config` block supports:
249249
* `nat_ip` - (Optional) The IP address that will be 1:1 mapped to the instance's
250250
network ip. If not given, one will be generated.
251251

252+
* `network_tier` - (Optional) The [networking tier][network-tier] used for configuring
253+
this instance template. This field can take the following values: PREMIUM or
254+
STANDARD. If this field is not specified, it is assumed to be PREMIUM.
255+
252256
The `alias_ip_range` block supports:
253257

254258
* `ip_cidr_range` - The IP CIDR range represented by this alias IP range. This IP CIDR range
@@ -312,3 +316,4 @@ $ terraform import google_compute_instance_template.default appserver-template
312316
```
313317

314318
[custom-vm-types]: https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types
319+
[network-tier]: https://cloud.google.com/network-tiers/docs/overview

0 commit comments

Comments
 (0)