spacemacs/layers/+tools/terraform
2017-04-12 00:00:19 -04:00
..
img Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
config.el Use terraform fmt by default in the terraform layer 2017-04-12 00:00:19 -04:00
packages.el Use terraform fmt by default in the terraform layer 2017-04-12 00:00:19 -04:00
README.org Use terraform fmt by default in the terraform layer 2017-04-12 00:00:19 -04:00

Terraform layer

/TakeV/spacemacs/media/commit/fb59a640894f15c3248d8c989b51a2663d6a66a5/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

By default, `terraform fmt` is applied to the terraform buffers before saving. If you wish to turn off this feature you may override this setting in your .spacemacs file.

In .spacemacs user-init:

  (setq terraform-fmt-on-save nil)

In .spacemacs layers declaration:

  (terraform :variables terraform-fmt-on-save nil)