[x] Ensure you have latest version of plugin installed
[x] Search for possible issue duplicates
Installation details
[x] IDE version (Help->About->Copy to Clipboard)
IntelliJ IDEA 2021.3.1 (Ultimate Edition)
Build #IU-213.6461.79, built on December 28, 2021
Licensed to Michael Cramer
Subscription is active until May 18, 2022.
Runtime version: 11.0.13+7-b1751.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6.2
Jenkins Plugin 0.13.13-2021.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
ski.chrzanow.foldableprojectview (1.1.1)
org.jetbrains.plugins.localization (213.5744.190)
org.jetbrains.plugins.go-template (213.5744.190)
org.jetbrains.plugins.go (213.6461.48)
org.intellij.plugins.hcl (0.7.14)
org.github.erikzielke.gotoproject (1.2)
net.seesharpsoft.intellij.plugins.csv (2.18.2)
name.kropp.intellij.makefile (213.5744.224)
org.jetbrains.plugins.vagrant (213.5744.121)
com.jetbrains.plugins.ini4idea (213.5744.190)
org.jetbrains.plugins.ruby (213.6461.79)
org.openpolicyagent.opa-idea-plugin (v0.7.0-212)
org.jetbrains.plugins.hocon (2021.1.0)
com.oliverlockwood.plugins.jenkinsfile (1.0)
com.github.mikesafonov.jenkins-linter-idea-plugin (0.5.3)
com.alayouni.ansiHighlight (1.2.4)
Jenkins Control Plugin (0.13.13-2021.2)
mobi.hsz.idea.gitignore (4.3.0)
com.intellij.kubernetes (213.6461.19)
org.intellij.scala (2021.3.17)
Pythonid (213.6461.79)
ru.meanmail.plugin.requirements (2021.4.1-213-EAP-SNAPSHOT)
com.intellij.bigdatatools (213.5449.230)
Kotlin: 213-1.5.10-release-949-IJ6461.79
[x] intellij-hcl plugin version (Settings->Plugins)
0.7.14
[x] Terraform version (terraform -v)
1.1.2
Terraform Configuration Files
Place the following in separate module directory named module:
# https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest
module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "18.0.4"
// other variables here, doesn't matter what
}
Then include this module from a root module:
module "test" {
source = "../module"
}
Exception
N/A
Expected Behavior
When the source for this module is not available, intellij highlights the block to indicate a problem and offers to run terraform get to download the source, so that it can do indexing and validate that all the module parameters are correct.
Actual Behavior
It downloads the source for the module in the module but this has no effect. The plugin still cannot recognize the module parameters and offers to download the source. Furthermore, it does not recognize the source that gets downloaded in the root module when terraform init is run.
Prerequisites
Installation details
[x] IDE version (
Help->About->Copy to Clipboard
)[x] intellij-hcl plugin version (
Settings->Plugins
)0.7.14
[x] Terraform version (
terraform -v
)1.1.2
Terraform Configuration Files
Place the following in separate module directory named
module
:Then include this module from a root module:
Exception
N/A
Expected Behavior
When the source for this module is not available, intellij highlights the block to indicate a problem and offers to run
terraform get
to download the source, so that it can do indexing and validate that all the module parameters are correct.Actual Behavior
It downloads the source for the module in the module but this has no effect. The plugin still cannot recognize the module parameters and offers to download the source. Furthermore, it does not recognize the source that gets downloaded in the root module when
terraform init
is run.Steps to Reproduce
Listed above.