There are two flows for the Linode instance. One where config
and disks
are used, and another where neither is used.
This is for parity with the Linode API's simple instance creation call, and simplicity for the majority of use cases.
The short answer, is to move the authorized_users
, image
, root_pass
arguments from the linode_instance
root into a linode_instance
disk {}
. Then in that linode_instance
also create a config { devices { sda{} } }
to refer to the disk label managed by disk {}
.
See "Simple Linode Instance" vs "Linode Instance with explicit Configs and Disks":
https://www.terraform.io/docs/providers/linode/r/instance.html#example-usage