mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-05 01:32:38 +00:00
Make google_compute_router_nat's source_ip_ranges_to_nat Required (#2749)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
91a513ab83
commit
a3caf90b4f
|
@ -22,9 +22,14 @@ var (
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// this field is optional with a default in the API, but we
|
||||||
|
// don't have the ability to support complex defaults inside
|
||||||
|
// nested fields
|
||||||
"source_ip_ranges_to_nat": {
|
"source_ip_ranges_to_nat": {
|
||||||
Type: schema.TypeSet,
|
Type: schema.TypeSet,
|
||||||
Optional: true,
|
Required: true,
|
||||||
|
MinItems: 1,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
Elem: &schema.Schema{Type: schema.TypeString},
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||||||
},
|
},
|
||||||
|
|
|
@ -149,7 +149,7 @@ The `subnetwork` block supports:
|
||||||
|
|
||||||
* `name` - (Required) The `self_link` of the subnetwork to NAT.
|
* `name` - (Required) The `self_link` of the subnetwork to NAT.
|
||||||
|
|
||||||
* `source_ip_ranges_to_nat` - (Optional) List of options for which source IPs in the subnetwork
|
* `source_ip_ranges_to_nat` - (Required) List of options for which source IPs in the subnetwork
|
||||||
should have NAT enabled. Supported values include: `ALL_IP_RANGES`,
|
should have NAT enabled. Supported values include: `ALL_IP_RANGES`,
|
||||||
`LIST_OF_SECONDARY_IP_RANGES`, `PRIMARY_IP_RANGE`
|
`LIST_OF_SECONDARY_IP_RANGES`, `PRIMARY_IP_RANGE`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user