pulumi / pulumi-terraform

A resource package that allows Pulumi programs to use Terraform state
Apache License 2.0
112 stars 18 forks source link

@pulumi/terraform unsupported checkable object kind "var" #759

Open pflajsman opened 6 months ago

pflajsman commented 6 months ago

What happened?

Hello, We use pulumi and terraform together and we reference our terraform state in pulumi. In the last few days, we get the error "unsupported checkable object kind "var"" from our terraform state reference. We think that error can be caused old terraform version in @pulumi/terraform. Do you have a plan to upgrade to latest? Could you let me know why you don't reflect new terraform versions in package?

Example

error: Preview failed: error constructing backend state manager: 13 problems:

Output of pulumi about

PS C:\git\infrastructure\pulumi\deployments\persistent\fastly> pulumi about CLI Version 3.101.1 Go Version go1.21.5 Go Compiler gc

Plugins NAME VERSION nodejs unknown

Host OS Microsoft Windows 11 Pro Version 10.0.22631 Build 22631 Arch x86_64

This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v21.7.3'

Current Stack: organization/persistent-fastly/qa

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

mjeffryes commented 6 months ago

Hi @pflajsman, unfortunately, newer versions of terraform are BUSL licensed (ie. no longer open source) so we're not able to update version used in this provider