Skip to content

Commit abfd108

Browse files
author
Brian Cervenka
committed
Minor fix to the triton_machine provider. The docs referred to a networks option, which seems to be deprecated. Now, terraform seems to expect a list of maps, which will detail each network interface.
1 parent ac3d67e commit abfd108

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

website/source/docs/providers/triton/r/triton_machine.html.markdown

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ The following arguments are supported:
4444
* `image` - (string, Required)
4545
The UUID of the image to provision.
4646

47-
* `networks` - (list of string)
48-
A list of the IDs of the desired networks for the machine.
47+
* `nic` - (list of maps, Optional)
48+
A list of maps with details for each nic. `nic` block described below.
4949

5050
* `firewall_enabled` - (boolean) Default: `false`
5151
Whether the cloud firewall should be enabled for this machine.
@@ -62,6 +62,10 @@ The following arguments are supported:
6262
* `administrator_pw` - (string)
6363
The initial password for the Administrator user. Only used for Windows virtual machines.
6464

65+
The nested `nic` block supports the following:
66+
* `network` - (string, Optional)
67+
The network id to attach to the network interface. It will be hex, in the format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`.
68+
6569
## Attribute Reference
6670

6771
The following attributes are exported:

0 commit comments

Comments
 (0)