spacemacs/layers/+tools/terraform
2017-04-12 00:04:38 -04:00
..
img
config.el terraform: rename layer var. to terraform-auto-format-on-save, set it to nil 2017-04-12 00:04:38 -04:00
packages.el terraform: rename layer var. to terraform-auto-format-on-save, set it to nil 2017-04-12 00:04:38 -04:00
README.org terraform: rename layer var. to terraform-auto-format-on-save, set it to nil 2017-04-12 00:04:38 -04:00

Terraform layer

/TakeV/spacemacs/media/commit/58d521af51dd37913f43bb759ec8b4f065153b82/layers/+tools/terraform/img/terraform.png

Description

This layer provides syntax support for Terraform .tf files using terraform-mode.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add terraform to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Auto-format on save

If you want terraform fmt to be applied automatically on save then set the layer variable terraform-auto-format-on-save to t:

  (terraform :variables terraform-auto-format-on-save t)