README
¶
Terraform SaltStack Provisioner
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
Documentation
¶
There is no documentation for this package.
Click to show internal directories.
Click to hide internal directories.