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:
parent
ac3d67e40f
commit
abfd108fbb
|
@ -44,8 +44,8 @@ The following arguments are supported:
|
||||||
* `image` - (string, Required)
|
* `image` - (string, Required)
|
||||||
The UUID of the image to provision.
|
The UUID of the image to provision.
|
||||||
|
|
||||||
* `networks` - (list of string)
|
* `nic` - (list of maps, Optional)
|
||||||
A list of the IDs of the desired networks for the machine.
|
A list of maps with details for each nic. `nic` block described below.
|
||||||
|
|
||||||
* `firewall_enabled` - (boolean) Default: `false`
|
* `firewall_enabled` - (boolean) Default: `false`
|
||||||
Whether the cloud firewall should be enabled for this machine.
|
Whether the cloud firewall should be enabled for this machine.
|
||||||
|
@ -62,6 +62,10 @@ The following arguments are supported:
|
||||||
* `administrator_pw` - (string)
|
* `administrator_pw` - (string)
|
||||||
The initial password for the Administrator user. Only used for Windows virtual machines.
|
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
|
## Attribute Reference
|
||||||
|
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
|
Loading…
Reference in New Issue