This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
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/70e5a10537afdf90733243d50c1eed7d1cf4ea2d/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)