spacemacs/layers/+tools/terraform
2017-05-22 18:35:37 +03:00
..
img Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
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 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00

Terraform layer

/TakeV/spacemacs/media/commit/24827b6f08ed19e5781cad13de7cc4b3c6bb1a32/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)