does anyone have any pointers on how to install th...
# general
d
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
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
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
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
ah, cheers! Hadn’t seen the unreleased versions in npm