doomemacs/modules/tools/terraform
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
..
config.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
doctor.el tools/terraform: add doctor dependency check 2019-11-21 16:10:43 -05:00
packages.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:tools terraform

Description   unfold

This module adds support for working with Terraform files within Emacs. This includes syntax highlighting, intelligent code completion, and the ability to run Terraform commands directly from Emacs.

Maintainers

This module has no dedicated maintainers. Become a maintainer?

Module flags

This module has no flags.

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module requires the terraform executable to be installed and in your $PATH.

Usage

Syntax highlighting

Syntax highlighting is provided from terraform-mode and hcl-mode.

Code formatting

:tools terraform does not provide code formatting directly, but :editor format works with Terraform files.

Code navigation

Code navigation is supported through imenu from terraform-mode.

Code completion

Code completion of Terraform builtins is provided from company-terraform and generally works well despite being generated through a static (outdated) file.

company-terraform also provides code completion of resources within your project.

Documentation

Documentation is accessible through the normal company show documentation functionality, thanks to company-terraform.

Executing Terraform commands

:tools terraform provides commands under <localleader> to run the most common Terraform operations:

key description
<localleader> i Runs $ terraform init
<localleader> p Runs $ terraform plan
<localleader> a Runs $ terraform apply

TODO Configuration

🔨 This module has no configuration documentation yet. Write some?

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?