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
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/e3e94b856858cfcf0569df581d886fd84b746cbc/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)