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-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/08734cb59599c3df18db5c72a62d92af68e757e7/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)