Installing IDE

In this lesson we'll learn to install JetBrains IntelliJ Community Edition IDE to write and run Terraform projects on your system.

Install JetBrains IntelliJ Community Edition#

This last step is completely optional but highly recommended. JetBrains have an awesome IDE called IntelliJ and what’s more, they provide a free community edition. The great thing about using the IntelliJ IDE is that you can install a plugin that gives you code completion, refactoring, and navigation for Terraform files (.tf files). This will make your life much easier when you are editing Terraform code.

Installing IntelliJ will help installing plugins to support Terraform files

Setting up IntelliJ Community Edition#

To setup IntelliJ Community Edition for Terraform:

  1. Navigate to the JetBrains IntelliJ download page

  2. Click on the Community Edition download button

  3. Install it by running the download

  4. Run IntelliJ and click on the IntelliJ IDEA Menu, select Preferences

  5. On the Preferences menu go to Plugins

  6. In the Plugins search box type HCL, there should be a plugin for Hashicorp Markup Language Support, click Install then click Apply

  7. IntelliJ will now be configured to understand Terraform files

If you do not wish to use IntelliJ, that is fine. You will still be able to follow the examples.

Setting up an AWS Account
Ansible
Mark as Completed
Report an Issue