I’m trying to use a cloud storage backend to deploy tfe_variable resources to a Terraform Enterprise workspace. I have used the
tfe provider in the configuration. I have been successfully able to run both plan and apply on my local machine, and I can see the variables being deployed to the Terraform Enterprise workspace I’m working with.
But when I try to run in CLI after deployment, the plan command runs successfully, creating the right plan but the apply fails with the following error: “Error creating terraform variable “variable_name”: resource not found” for all the variables. I have tried a lot of things to get to the root cause of it but to no avail. I’m using terraform 0.14.10 for my runs.
Any feedback here would be really appreciated.