Thank you for opening an issue.
In this template paragraph text could be removed, however please retain headers.
Prerequisites
[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 2019.2.3 (Ultimate Edition)
Build #IU-192.6817.14, built on September 23, 2019
Licensed to Expedia, Inc. / Billy Bautista
You have a perpetual fallback license for this version
Subscription is active until May 1, 2021
Runtime version: 11.0.4+10-b304.69 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: debugger.watches.in.variables=false
Non-Bundled Plugins: IdeaVIM, claims.bold.intellij.avro, org.intellij.clojure, org.intellij.plugins.hcl, Karma, org.jetbrains.kotlin, com.intellij.plugins.html.instantEditing, org.intellij.scala, JSTestDriver Plugin, Pythonid, org.jetbrains.plugins.ruby
[X] intellij-hcl plugin version (Settings->Plugins)
0.7.7
[X] Terraform version (terraform -v)
0.12.13
Terraform Configuration Files
data "aws_api_gateway_rest_api" "api" {
name = var.api_name
}
data "aws_lambda_function" "lambda" {
function_name = var.lambda_name
}
resource "aws_lambda_permission" "lambda_permission" {
statement_id = "AllowInvocationFromAPIGateway"
action = "lambda:InvokeFunction"
function_name = data.aws_lambda_function.lambda.function_name
principal = "apigateway.amazonaws.com"
source_arn = data.aws_api_gateway_rest_api.api.execution_arn
}
Exception
N/A
Expected Behavior
No warnings/errors manifest.
Actual Behavior
IDE claims "Unresolved reference execution_arn"
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Use an aws_api_gateway_rest_api data element
Reference execution_arn from the aws_api_gateway_rest_api data element in a resource element
Thank you for opening an issue. In this template paragraph text could be removed, however please retain headers.
Prerequisites
Installation details
Help->About->Copy to Clipboard
)Settings->Plugins
)terraform -v
)Terraform Configuration Files
Exception
Expected Behavior
No warnings/errors manifest.
Actual Behavior
IDE claims "Unresolved reference execution_arn"
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
aws_api_gateway_rest_api
data elementexecution_arn
from theaws_api_gateway_rest_api
data element in a resource element