mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-17 15:01:49 -04:00
Remove the need for specifying a network ID (#10204)
When using the static NAT resource, you no longer have to specify a `network_id`. This can be inferred from the choosen `virtual_machine_id` and/or the `vm_guest_ip`.
This commit is contained in:
committed by
GitHub
parent
3920460220
commit
fbf27714e3
@@ -26,10 +26,8 @@ The following arguments are supported:
|
||||
* `ip_address_id` - (Required) The public IP address ID for which static
|
||||
NAT will be enabled. Changing this forces a new resource to be created.
|
||||
|
||||
* `network_id` - (Optional) The network ID of the VM the static NAT will be
|
||||
enabled for. Required when public IP address is not associated with any
|
||||
guest network yet (VPC case). Changing this forces a new resource to be
|
||||
created.
|
||||
* `network_id` - (Deprecated) The network ID of the VM the static NAT will be
|
||||
enabled for. This argument is no longer needed and can be safely omitted.
|
||||
|
||||
* `virtual_machine_id` - (Required) The virtual machine ID to enable the
|
||||
static NAT feature for. Changing this forces a new resource to be created.
|
||||
@@ -46,6 +44,5 @@ The following arguments are supported:
|
||||
The following attributes are exported:
|
||||
|
||||
* `id` - The static nat ID.
|
||||
* `network` - The network the public IP address is associated with.
|
||||
* `vm_guest_ip` - The IP address of the virtual machine that is used
|
||||
for the port forwarding rule.
|
||||
|
||||
Reference in New Issue
Block a user