Closed veldpworld closed 8 months ago
can anyone faced this error ?
I can do terraform plan , apply locally. using this azure devops terraform cli I am getting the below error.
Error loading state: unsupported checkable object kind "var"
Terraform command 'plan' failed with exit code '1'.
should work with Terraform v1.6.1 🙂
There isn't enough here to really troubleshoot. As yuklia alluded to, can you check the version you run locally? If they are the same, can you provide enough configuration to reproduce this error in a pipeline? I also see the pipeline task you are using is outdated.
i have deleted the tfstate file in azurebackend and again I rerun it worked. Not sure what was the issue. But in my local machine with 1.5.2 also it worked with same remote backend.
I close this thread.
Hi all I get this Error: Failed to load state: unsupported checkable object kind "var" when i run terragrunt-run-all apply, this is stack specific as it works fine with other stacks, am using (terraform version 1.3.7 & terragrunt version 0.53.1) please help
Hi All. I now get this as well. I have many implementations and it is only 1 environment where this happens. Has anyone ever solved this?
Hi All. I now get this as well. I have many implementations and it is only 1 environment where this happens. Has anyone ever solved this?
This was resolved by updating to the latest terraform version across the development team, verify that everyone uses the same terraform version.
Terraform cli 0.78
I can run this locally with terraform remote state but in azure pipeline it gives this error "Error: [0m[0m[1merror loading state: unsupported checkable object kind "var"[0m"
I am not sure how to debug this error code. can you please guide me on this ? @charleszipp