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-agent
is up and running with~/.ssh/id_rsa
added
Initialize the repository. This will install the configured Linode provider.
terraform init
Set the required variables as Terraform variables.
export TF_VAR_linode_token="${LINODE_API_TOKEN}"
Do the thing.
terraform apply