/terraform-provisioner-saltstack

This is an alternative SaltStack provisioner for Terraform

Primary LanguageGoMIT LicenseMIT

Terraform SaltStack Provisioner

Known Vulnerabilities

This is an alternative SaltStack provisioner for Terraform

Dependencies

Build

make build

Copy the .terraform to your terraform project

Example

Setup

Building the plugin also places a copy of .terraform in the example project

make build

The Azure example requires us to run the az tool to login and view credentials required for the environment variables.

az login

Set Terraform environment variables for the Azure provider

cat << EOF >> ~/.profile
export TF_VAR_subscription_id=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export TF_VAR_client_id=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export TF_VAR_client_secret=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export TF_VAR_tenant_id=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
EOF

Execute

Execute Terraform to deploy the infrastructure.

cd examples/azure-vm
make deploy 

Maintainers

rangertaha