PyCharm 2024.1 EAP 8: Enhanced Support for Terraform
PyCharm 2024.1 EAP 8 is now available, providing a sneak peek into some exciting new features planned for the next major release. A notable update of this build is enhanced support for Terraform.
You can download the new version from our website, update directly from the IDE or via the free Toolbox App, or use snaps for Ubuntu.
Enhanced Terraform support
In the upcoming 2024.1 update, we are excited to announce significant improvements in support for infrastructure as code development for Terraform, aimed at developers, Site Reliability Engineers (SREs), and DevOps. This update includes a series of new features and enhancements, specifically designed to simplify the process of creating, managing, and scaling your infrastructure.
Suggestion to run terraform init
To initialize the working directory with Terraform code files, running terraform init
is necessary. This is often overlooked, leading to error messages from Terraform itself, as well as incomplete code autocompletion and partial documentation display. To avoid this, the IDE now explicitly and simply suggests doing so.
Support for third-party providers from the Terraform Registry
PyCharm now offers extended code completion capabilities for the range of more than 3900 third-party Terraform providers, making it easier for developers to write code efficiently. Additionally, you’ll find the latest documentation for each of these providers, along with their specific versions, directly within the IDE.
This allows for the exploration of new Terraform providers and faster learning of their capabilities without leaving the IDE.
Support for Terraform Template Language (tftpl)
In our latest update, we’re excited to unveil support for the Terraform Template language (tftpl), enhancing your workflow with configuration files, scripts, or any program code, such as web server, network, or service configurations. Templating just got easier! Now, you can dynamically fill in values within your templates at runtime, streamlining the process of rendering templates for specific uses.
By default, files with the *.tftpl extension are recognized as plain text with templating capabilities. However, if your requirements are more specific, we’ve added the option to seamlessly integrate with your preferred programming language. Simply right-click the file, select Change plain text template to data language and choose the language that matches your tftpl files. This feature is designed to enhance your templating experience, making it more flexible and powerful than ever before.
The TFTPL language supports not just variable templating, control flow elements but also encompasses lists and maps, along with the ability to generate JSON and YAML formats.
Version control systems
Visual indicators for pending GitHub updates
We’ve introduced visual indicators to hint about pending updates within your code review workflow. When there are changes requiring your attention, a blue dot badge will appear on the tool window icon. Additionally, unseen pull requests will be marked with a blue dot, ensuring you don’t miss updates in your code review process.
These are the most notable updates brought by this week’s EAP build. For a comprehensive overview of all the implemented changes, please refer to the release notes.
We highly value your feedback on the new features since your insights play an essential role in molding the final version of the release. Feel free to share your thoughts in the comments below or via X (formerly Twitter). Should you encounter any bugs, please submit a report via our issue tracker.