@@ -51,13 +51,42 @@ The following arguments are supported:
51
51
* ` advertised_route_priority ` - (Optional) The priority of routes advertised to this BGP peer.
52
52
Changing this forces a new peer to be created.
53
53
54
+ * ` advertise_mode ` - (Optional) User-specified flag to indicate which mode to use for advertisement.
55
+ Options include ` DEFAULT ` or ` CUSTOM ` .
56
+
57
+ * ` advertised_groups ` - (Optional) User-specified list of prefix groups to advertise in custom mode,
58
+ which can take one of the following options:
59
+
60
+ ` ALL_SUBNETS ` : Advertises all available subnets, including peer VPC subnets.
61
+ ` ALL_VPC_SUBNETS ` : Advertises the router's own VPC subnets.
62
+ ` ALL_PEER_VPC_SUBNETS ` : Advertises peer subnets of the router's VPC network.
63
+
64
+ Note that this field can only be populated if ` advertise_mode ` is ` CUSTOM ` and overrides the list
65
+ defined for the router (in the "bgp" message). These groups are advertised in addition to any
66
+ specified prefixes. Leave this field blank to advertise no custom groups.
67
+
68
+ * ` advertised_ip_ranges ` - (Optional) User-specified list of individual IP ranges to advertise in
69
+ custom mode. This field can only be populated if ` advertise_mode ` is ` CUSTOM ` and overrides
70
+ the list defined for the router (in the "bgp" message). These IP ranges are advertised in
71
+ addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
72
+
54
73
* ` project ` - (Optional) The ID of the project in which this peer's router belongs. If it
55
74
is not provided, the provider project is used. Changing this forces a new peer to be created.
56
75
57
76
* ` region ` - (Optional) The region this peer's router sits in. If not specified,
58
77
the project region will be used. Changing this forces a new peer to be
59
78
created.
60
79
80
+
81
+ The ` advertised_ip_ranges ` block supports:
82
+
83
+ * ` description ` -
84
+ (Optional) User-specified description for the IP range.
85
+
86
+ * ` range ` -
87
+ (Optional) The IP range to advertise. The value must be a CIDR-formatted string.
88
+
89
+
61
90
## Attributes Reference
62
91
63
92
In addition to the arguments listed above, the following computed attributes are
0 commit comments