Terraform with Chef provisioner on vSphere

Hi all,

I am currently using a chef privisioner within my terraform scripts. The chef cookbooks will install just fine until I have to use a data bag. I am using chef-vault to create data bag and data item. When the remote node runs chef as a part of terraform, it fails and receives the following error:

null_resource.chef_node_bootstrap (chef): ChefVault::Exceptions::SecretDecryption
null_resource.chef_node_bootstrap (chef): ---------------------------------------
null_resource.chef_node_bootstrap (chef): credentials/svc-account is not encrypted with your public key. Contact an administrator of the vault item to encrypt for you!

The private key is on the remote node, but cannot access the data bag. Has anyone seen this issue with using the chef privisioner? Any help is appreciated.