Silex/docker.el@bc2dc09 -> Silex/docker.el@9bcefbe cjohansson/emacs-ssh-deploy@fce4ea3 -> cjohansson/emacs-ssh-deploy@7c5fe8a emacs-lsp/dap-mode@4347846 -> emacs-lsp/dap-mode@01d9297 emacs-lsp/lsp-mode@9aa22de -> emacs-lsp/lsp-mode@aec8968 emacs-lsp/lsp-ui@9953a48 -> emacs-lsp/lsp-ui@cb02972 emacs-pe/docker-tramp.el@8e2b671 -> emacs-pe/docker-tramp.el@aaee11c emacsorphanage/terraform-mode@a9fa5bd -> emacsorphanage/terraform-mode@e560caa jacktasia/dumb-jump@8f70acb -> jacktasia/dumb-jump@542e72d joaotavora/eglot@a5b7b7d -> joaotavora/eglot@5cc8df6 magit/forge@551e515 -> magit/forge@b4fd066 magit/magit@b68a760 -> magit/magit@9b7b25f tumashu/posframe@739d8fd -> tumashu/posframe@f97c4af xuchunyang/osx-dictionary.el@4d4cc19 -> xuchunyang/osx-dictionary.el@1a4479d zx2c4/password-store@4e73cdc -> zx2c4/password-store@3dd1469
tools/terraform
Description
This module adds support for working with Terraform files in Doom Emacs. This includes syntax highlighting, intelligent code completion, and the ability to run Terraform commands directly from Emacs.
Module Flags
This module provides no flags.
Plugins
Prerequisites
The terraform executable must be installed and accessible from your PATH.
Features
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-mode show documentation
functionality, thanks to company-terraform.
Executing Terraform commands
:tools terraform provides commands under the localleader to run the most
common Terraform operations (see Keybindings below).
Appendix
Keybindings
:localleader
| key | description |
|---|---|
i |
Run terraform init |
p |
Run terraform plan |
a |
Run terraform apply |