I am running into an issue where after the speculative plan completes, the plan fails to package filesystem contents when using a Third-party plugin on Terraform Enterprise.
Terraform v0.15.3 on linux_amd64 Configuring remote state backend... Initializing Terraform configuration... aws_iam_test_role: Refreshing state... [id=test-role] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: Terraform will perform the following actions: Plan: 0 to add, 0 to change, 0 to destroy. Changes to Outputs: + test = "secret/...." failed packing filesystem contents: failed to get symbolic link destination for "/tmp/terraform-build-worker112925418/fs-download/.terraform/providers/test.com/test/vault/0.1.0/linux_amd64": lstat /root/.terraform.d: no such file or directory
I am using the custom worker image here: Interactive Installation - Install and Config - Terraform Enterprise - Terraform by HashiCorp
and have added an additional line to the worker docker image to
COPY terraform-provider-vault_v0.1.0 /root/.terraform.d/plugins/test.com/test/vault/0.1.0/linux_amd64/