You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-8Lines changed: 20 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ Then perform the following commands on the root folder:
110
110
| routing\_mode | The network routing mode (default 'GLOBAL') |`string`|`"GLOBAL"`| no |
111
111
| secondary\_ranges | Secondary ranges that will be used in some of the subnets |`map(list(object({ range_name = string, ip_cidr_range = string })))`|`{}`| no |
112
112
| shared\_vpc\_host | Makes this project a Shared VPC host if 'true' (default 'false') |`bool`|`false`| no |
@@ -138,13 +138,25 @@ Then perform the following commands on the root folder:
138
138
139
139
The subnets list contains maps, where each object represents a subnet. Each map has the following inputs (please see examples folder for additional references):
140
140
141
-
| Name | Description | Type | Default | Required |
142
-
|------|-------------|:----:|:-----:|:-----:|
143
-
| subnet\_name | The name of the subnet being created | string | - | yes |
144
-
| subnet\_ip | The IP and CIDR range of the subnet being created | string | - | yes |
145
-
| subnet\_region | The region where the subnet will be created | string | - | yes |
146
-
| subnet\_private\_access | Whether this subnet will have private Google access enabled | string |`"false"`| no |
147
-
| subnet\_flow\_logs | Whether the subnet will record and send flow log data to logging | string |`"false"`| no |
141
+
| Name | Description | Type | Default | Required |
| subnet\_name | The name of the subnet being created | string | - | yes |
144
+
| subnet\_ip | The IP and CIDR range of the subnet being created | string | - | yes |
145
+
| subnet\_region | The region where the subnet will be created | string | - | yes |
146
+
| subnet\_private\_access | Whether this subnet will have private Google access enabled | string |`"false"`| no |
147
+
| subnet\_private\_ipv6\_access| The private IPv6 google access type for the VMs in this subnet | string | - | no |
148
+
| subnet\_flow\_logs | Whether the subnet will record and send flow log data to logging | string |`"false"`| no |
149
+
| subnet\_flow\_logs\_interval | If subnet\_flow\_logs is true, sets the aggregation interval for collecting flow logs | string |`"INTERVAL_5_SEC"`| no |
150
+
| subnet\_flow\_logs\_sampling | If subnet\_flow\_logs is true, set the sampling rate of VPC flow logs within the subnetwork | string |`"0.5"`| no |
151
+
| subnet\_flow\_logs\_metadata | If subnet\_flow\_logs is true, configures whether metadata fields should be added to the reported VPC flow logs | string |`"INCLUDE_ALL_METADATA"`| no |
152
+
| subnet\_flow\_logs\_filter | Export filter defining which VPC flow logs should be logged, see https://cloud.google.com/vpc/docs/flow-logs#filtering for formatting details | string |`"true"`| no |
153
+
| subnet\_flow\_logs\_metadata\_fields | List of metadata fields that should be added to reported logs. Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA. | any | - | no |
154
+
| description | An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time | string | - | no |
155
+
| purpose | The purpose of the subnet usage. Whether it is to be used as a regular subnet or for proxy or loadbalacing purposes, see https://cloud.google.com/vpc/docs/subnets#purpose for more details | string |`"PRIVATE"`| no |
156
+
| role | The role of the subnet when using it as a proxy or loadbalancer network. Whether it is to be used as the active or as a backup subnet, see https://cloud.google.com/load-balancing/docs/proxy-only-subnets#proxy_only_subnet_create for more details | string | - | no |
157
+
| stack\_type |`IPV4_ONLY` or `IPV4_IPV6` for dual-stack networking | string | - | no |
158
+
| ipv6\_access\_type |`INTERNAL` or `EXTERNAL`. `INTERNAL` requires ULA be enabled on the VPC | string | - | no |
Copy file name to clipboardExpand all lines: modules/subnets-beta/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ module "vpc" {
68
68
| network\_name | The name of the network where subnets will be created |`string`| n/a | yes |
69
69
| project\_id | The ID of the project where subnets will be created |`string`| n/a | yes |
70
70
| secondary\_ranges | Secondary ranges that will be used in some of the subnets |`map(list(object({ range_name = string, ip_cidr_range = string })))`|`{}`| no |
@@ -88,14 +88,15 @@ The subnets list contains maps, where each object represents a subnet. Each map
88
88
| subnet\_ip | The IP and CIDR range of the subnet being created | string | - | yes |
89
89
| subnet\_region | The region where the subnet will be created | string | - | yes |
90
90
| subnet\_private\_access | Whether this subnet will have private Google access enabled | string |`"false"`| no |
91
+
| subnet\_private\_ipv6\_access| The private IPv6 google access type for the VMs in this subnet | string | - | no |
91
92
| subnet\_flow\_logs | Whether the subnet will record and send flow log data to logging | string |`"false"`| no |
92
93
| subnet\_flow\_logs\_interval | If subnet\_flow\_logs is true, sets the aggregation interval for collecting flow logs | string |`"INTERVAL_5_SEC"`| no |
93
94
| subnet\_flow\_logs\_sampling | If subnet\_flow\_logs is true, set the sampling rate of VPC flow logs within the subnetwork | string |`"0.5"`| no |
94
95
| subnet\_flow\_logs\_metadata | If subnet\_flow\_logs is true, configures whether metadata fields should be added to the reported VPC flow logs | string |`"INCLUDE_ALL_METADATA"`| no |
95
-
| subnet\_flow\_logs\_filter_expr| Export filter defining which VPC flow logs should be logged, see https://cloud.google.com/vpc/docs/flow-logs#filtering for formatting details | string |`"true"`| no |
96
+
| subnet\_flow\_logs\_filter| Export filter defining which VPC flow logs should be logged, see https://cloud.google.com/vpc/docs/flow-logs#filtering for formatting details | string |`"true"`| no |
96
97
| subnet\_flow\_logs\_metadata\_fields | List of metadata fields that should be added to reported logs. Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA. | any | - | no |
98
+
| description | An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time | string | - | no |
97
99
| purpose | The purpose of the subnet usage. Whether it is to be used as a regular subnet or for proxy or loadbalacing purposes, see https://cloud.google.com/vpc/docs/subnets#purpose for more details | string |`"PRIVATE"`| no |
98
-
| role | The role of the subnet when using it as a proxy or loadbalancer network. Whether it is to be used as the active or as a backup subnet, see https://cloud.google.com/load-balancing/docs/proxy-only-subnets#proxy_only_subnet_create for more details | string | - | no |
99
-
| enable\_ipv6\_ula | Enabled IPv6 ULA, this is a permenant change and cannot be undone! (default 'false') |`bool`|`false`| no |
100
-
| internal\_ipv6\_range | When enabling IPv6 ULA, optionally, specify a /48 from fd20::/20 (default null) |`string`|`null`| no |
101
-
100
+
| role | The role of the subnet when using it as a proxy or loadbalancer network. Whether it is to be used as the active or as a backup subnet, see https://cloud.google.com/load-balancing/docs/proxy-only-subnets#proxy_only_subnet_create for more details | string | - | no |
101
+
| stack\_type |`IPV4_ONLY` or `IPV4_IPV6` for dual-stack networking | string | - | no |
102
+
| ipv6\_access\_type |`INTERNAL` or `EXTERNAL`. `INTERNAL` requires ULA be enabled on the VPC | string | - | no |
0 commit comments