Skip to content

Commit 0dc0e52

Browse files
marcinpilatniharika-98
authored andcommitted
Add NetworkTier for GlobalForwardingRule. (GoogleCloudPlatform#12474)
1 parent e0c0ba2 commit 0dc0e52

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

mmv1/products/compute/GlobalForwardingRule.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,25 @@ properties:
485485
update_url: 'projects/{{project}}/global/forwardingRules/{{name}}/setTarget'
486486
update_verb: 'POST'
487487
diff_suppress_func: 'tpgresource.CompareSelfLinkRelativePaths'
488+
- name: 'networkTier'
489+
type: Enum
490+
description: |
491+
This signifies the networking tier used for configuring
492+
this load balancer and can only take the following values:
493+
`PREMIUM`, `STANDARD`.
494+
495+
For regional ForwardingRule, the valid values are `PREMIUM` and
496+
`STANDARD`. For GlobalForwardingRule, the valid value is
497+
`PREMIUM`.
498+
499+
If this field is not specified, it is assumed to be `PREMIUM`.
500+
If `IPAddress` is specified, this value must be equal to the
501+
networkTier of the Address.
502+
immutable: true
503+
default_from_api: true
504+
enum_values:
505+
- 'PREMIUM'
506+
- 'STANDARD'
488507
- name: 'serviceDirectoryRegistrations'
489508
type: Array
490509
description: |

mmv1/templates/terraform/examples/global_forwarding_rule_external_managed.tf.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resource "google_compute_global_forwarding_rule" "default" {
33
target = google_compute_target_http_proxy.default.id
44
port_range = "80"
55
load_balancing_scheme = "EXTERNAL_MANAGED"
6+
network_tier = "PREMIUM"
67
}
78

89
resource "google_compute_target_http_proxy" "default" {

0 commit comments

Comments
 (0)