https://pulumi.com logo
#general
Title
# general
d

damp-room-71337

08/07/2019, 10:40 AM
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

broad-dog-22463

08/07/2019, 11:03 AM
@stocky-spoon-28903?
s

stocky-spoon-28903

08/07/2019, 11:07 AM
Ah, we need to update that.
Ah, we need to update that.
I’ll sort that out today @damp-room-71337
d

damp-room-71337

08/07/2019, 11:37 AM
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

stocky-spoon-28903

08/07/2019, 11:53 AM
@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

damp-room-71337

08/07/2019, 11:54 AM
thanks!
s

stocky-spoon-28903

08/08/2019, 12:58 PM
@damp-room-71337 I’m going to cut a release of these bits now
d

damp-room-71337

08/08/2019, 12:58 PM
great, thanks!
@stocky-spoon-28903 is there any ETA on a release with TF 0.12.6 support?
b

broad-dog-22463

08/21/2019, 2:55 PM
@damp-room-71337 release of what bj art?
Binary*
d

damp-room-71337

08/21/2019, 2:58 PM
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

stocky-spoon-28903

08/21/2019, 6:13 PM
@damp-room-71337 It needs a tag pushing - sorry I’m out on vacation this week.