This is a simple example of using the salt-masterless provisioner in Terraform to provision Linodes.
It is meant to be a starting point that can be cloned and modified.
This example creates a Linode and installs Nginx.
- Linode API Token
terraform>= v0.11.10ssh-agentis up and running with~/.ssh/id_rsaadded
Initialize the repository. This will install the configured Linode provider.
terraform initSet the required variables as Terraform variables.
export TF_VAR_linode_token="${LINODE_API_TOKEN}"Do the thing.
terraform apply