hi all - does anyone have any info on how terrafor...
# general
d
hi all - does anyone have any info on how terraform versions work with Pulumi’s
terraform.state.RemoteStateReference
? I’m just trying it out for the first time, but get a version mismatch:
Copy code
terraform:state:RemoteStateReference (synchronicity):
    error: Preview failed: error refreshing Terraform state: state snapshot was created by Terraform v0.12.6, which is newer than current v0.12.0; upgrade to Terraform v0.12.6 or greater to work with this state
My installed version of terraform is 0.12.6, so I assume Pulumi is bundling 0.12.0?
b
@stocky-spoon-28903?
s
Ah, we need to update that.
Ah, we need to update that.
I’ll sort that out today @damp-room-71337
d
thanks! Just so I’m clear though, is Pulumi importing some of the terraform machinery, so therefore it’ll always be using a specific TF version, unrelated to the terraform binary installed on the machine?
s
@damp-room-71337 Yes that’s right
We use the Terraform state parser
https://github.com/pulumi/pulumi-terraform/pull/451 updates it to the latest version. We’ll add it to the list of updates we track, I didn’t realise it was needed until just now (despite being the person who added the version check for reading state in Terraform in the first place!)
d
thanks!
s
@damp-room-71337 I’m going to cut a release of these bits now
d
great, thanks!
@stocky-spoon-28903 is there any ETA on a release with TF 0.12.6 support?
b
@damp-room-71337 release of what bj art?
Binary*
d
I’m not familiar enough with Pulumi’s internals to answer that really, but with the latest version of pulumi from
brew
I still get the error at the top of this thread when trying to read Terraform 0.12.6 state files
looking at github the last release of
pulumi-terraform
is 2 months old, so I’m guessing it’s that?
s
@damp-room-71337 It needs a tag pushing - sorry I’m out on vacation this week.