Read outputs from a TFState File in Packer - is there native Terraform integration with Packer HCL support?

I have certain resources used by packer (like subnet, security groups, iam) defined in Terraform.

Normally if I want to use this in packer, it would output the resource ID in the packer arguments like

packer -var "key=${terraform output xyz}" 

with some TF code to get the output of a TF workspace/tfstate.

I was wondering now the Packer supports HCL, is there a more elegant/native way to retrieve an outout from the Terraform state file?