An open API service indexing awesome lists of open source software.

https://github.com/stvnjacobs/terraform-linode-saltstack-base

Starting point for using Terraform's SaltStack Provisioner on Linode
https://github.com/stvnjacobs/terraform-linode-saltstack-base

linode saltstack terraform

Last synced: about 1 month ago
JSON representation

Starting point for using Terraform's SaltStack Provisioner on Linode

Awesome Lists containing this project

README

          

# Terraform Linode SaltStack Base

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](/main.tf) and [installs Nginx](/salt/).

## Getting Started

### Requirements

- Linode API Token
- `terraform` >= v0.11.10
- `ssh-agent` is up and running with `~/.ssh/id_rsa` added

### Process

Initialize the repository.
This will install the configured Linode provider.
```sh
terraform init
```

Set the required variables as Terraform variables.
```sh
export TF_VAR_linode_token="${LINODE_API_TOKEN}"
```

Do the thing.
```sh
terraform apply
```