VladRassokhin / intellij-hcl

HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244 stars 47 forks source link

[incorrect warning] Existing `reader_endpoint_address`of aws_elasticache_replication_group but Unresolved reference #327

Closed sogaoh closed 3 years ago

sogaoh commented 3 years ago

Prerequisites

Installation details

Terraform Configuration Files


output "out_redis_replication_group_endpoints" {
  value = [
    aws_elasticache_replication_group.redis_replication_group_module.primary_endpoint_address,
    aws_elasticache_replication_group.redis_replication_group_module.reader_endpoint_address,
  ]
}

Exception

(none: Only WARNING : Unresolved reference )

Expected Behavior

No WARNING Unresolved reference showed.

Actual Behavior

reader_endpoint_address_Unresolved_reference_20210221

Steps to Reproduce

  1. Generate a new .tf file. (aws_elasticache_replication_group)
  2. Generate a new outputs.tf and Copy & paste outputs.tf content. (See above section Terraform Configuration Files)
VladRassokhin commented 3 years ago

Fixed in 0.7.11

sogaoh commented 3 years ago

Thanks for report. I've confirmed.

スクリーンショット 2021-09-04 18 10 20