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.

This commit is contained in:
Brian Cervenka 2017-02-07 17:28:26 -08:00
parent ac3d67e40f
commit abfd108fbb
1 changed files with 6 additions and 2 deletions

View File

@ -44,8 +44,8 @@ The following arguments are supported:
* `image` - (string, Required)
The UUID of the image to provision.
* `networks` - (list of string)
A list of the IDs of the desired networks for the machine.
* `nic` - (list of maps, Optional)
A list of maps with details for each nic. `nic` block described below.
* `firewall_enabled` - (boolean) Default: `false`
Whether the cloud firewall should be enabled for this machine.
@ -62,6 +62,10 @@ The following arguments are supported:
* `administrator_pw` - (string)
The initial password for the Administrator user. Only used for Windows virtual machines.
The nested `nic` block supports the following:
* `network` - (string, Optional)
The network id to attach to the network interface. It will be hex, in the format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`.
## Attribute Reference
The following attributes are exported: