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

damp-room-71337

09/09/2019, 12:31 PM
does anyone have any pointers on how to install the javascript
@pulumi/terraform
module from github, or how to build it from source? The Go build info in the readme isn’t getting me very far, and I’m not even sure it’s required
s

stocky-island-3676

09/09/2019, 1:12 PM
I guess you mean this Github repo, right?: https://github.com/pulumi/pulumi-terraform That is no Javascript/Node module at all. Before going into details: What do you want to do?
d

damp-room-71337

09/09/2019, 1:14 PM
I’m trying to use https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/terraform/state/#RemoteStateReference, but the current release only supports Terraform 0.12.0, and I need 0.12.6+ support
s

stocky-island-3676

09/09/2019, 1:21 PM
You’re right. Didn’t know about that one, yet. Then, sorry about my misinformation.
@damp-room-71337 You could use the
dev
tag or pinpoint to a specific
dev
version, e.g. latest is
0.18.4-dev.1568027942
https://www.npmjs.com/package/@pulumi/terraform?activeTab=versions This unreleased version
0.18.4
should be able to do what you want:
RemoteStateReference
resources can now read states created with Terraform 0.12.6 and below.
https://github.com/pulumi/pulumi-terraform/blob/master/CHANGELOG.md#v0184-unreleased
d

damp-room-71337

09/09/2019, 1:28 PM
ah, cheers! Hadn’t seen the unreleased versions in npm