There should be no warning, as the default value is correct.
Actual Behavior
A warning is displayed in the editor and the default object is highlighted.
Steps to Reproduce
Paste the above Terraform configuration into a Terraform file (e.g. variables.tf). If I update the default object to the following, the warning goes away:
Prerequisites
Installation details
Help->About->Copy to Clipboard
)Settings->Plugins
)0.7.14
terraform -v
)1.1.0
Terraform Configuration Files
Exception
It seems from the warning message that the inner types of the
list()
is not taken into account unless it has a value. Perhaps similar to https://github.com/VladRassokhin/intellij-hcl/issues/362Expected Behavior
There should be no warning, as the default value is correct.
Actual Behavior
A warning is displayed in the editor and the default object is highlighted.
Steps to Reproduce
Paste the above Terraform configuration into a Terraform file (e.g.
variables.tf
). If I update the default object to the following, the warning goes away:Notice that
artifacts
andoutput_artifacts
both now have values inside of the lists.