Skip to content

Latest commit

 

History

History
79 lines (60 loc) · 2.76 KB

README.org

File metadata and controls

79 lines (60 loc) · 2.76 KB

:tools terraform

Description

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.

Packages

  • doom-package:company-terraform if doom-package::completion company
  • doom-package:terraform-mode

Hacks

No hacks documented for this module.

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

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

Code navigation

Code navigation is supported through doom-package:imenu from doom-package:terraform-mode.

Code completion

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

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

Documentation

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

Executing Terraform commands

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

keydescription
<localleader> iRuns $ terraform init
<localleader> pRuns $ terraform plan
<localleader> aRuns $ terraform apply

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?

Appendix

🔨 This module has no appendix yet. Write one?