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

quaint-queen-45003

03/07/2019, 9:53 PM
am I able to use the New Relic TF provider with pulumi?
looks like i should be able to https://pulumi.io/reference/vs/terraform.html
c

creamy-potato-29402

03/07/2019, 9:59 PM
use but you’ll have to use the tfbridge to convert the TF provider into a pulumi provider
q

quaint-queen-45003

03/07/2019, 10:01 PM
sounds good. just pulled up the github repo for tf bridge. i'll give it a shot. thanks!
g

gentle-diamond-70147

03/07/2019, 10:35 PM
q

quaint-queen-45003

03/07/2019, 11:19 PM
will check it out! thanks! 🙂
I'm working through the boilerplate but hitting an issue when trying to lock dependancies. any tips?
Copy code
bngo-mac3:pulumi-newrelic bngo$ govendor-override < Gopkg.template.toml > Gopkg.toml
2019/03/08 09:40:50 fetching govendor information for <http://github.com/terraform-providers/terraform-provider-newrelic|github.com/terraform-providers/terraform-provider-newrelic>
2019/03/08 09:40:50 chose <http://github.com/terraform-providers/terraform-provider-newrelic@v1.4.0|github.com/terraform-providers/terraform-provider-newrelic@v1.4.0>
2019/03/08 09:40:51 error fetching govendor information for <http://github.com/terraform-providers/terraform-provider-newrelic|github.com/terraform-providers/terraform-provider-newrelic>: open /var/folders/m9/dlr4wb2x0tbb7m9zh3bmszl8j5pg0l/T/govendor-override771467244/vendor/vendor.json: no such file or directory
s

stocky-spoon-28903

03/08/2019, 5:55 PM
Hi @quaint-queen-45003, severs terraform providers have moved now from govendor to go modules, and this guidance needs updating. I’ll try to do that today, now I’ve finished work on a tool to automate it in a similar manner. Sorry for the inconvenience!
q

quaint-queen-45003

03/08/2019, 5:57 PM
no worries. thank you for the help!
i

incalculable-angle-91273

03/27/2019, 6:04 PM
@quaint-queen-45003 did you get this to work? I'm trying it out now and am running into issues with `gomod-override`:
Copy code
▶ gomod-override < Gopkg.template.toml > Gopkg.toml
2019/03/27 11:00:25 chose <http://github.com/terraform-providers/terraform-provider-newrelic@v1.5.0|github.com/terraform-providers/terraform-provider-newrelic@v1.5.0>
2019/03/27 11:00:27 error running go list to determine complete dependency list: exit status 1
s

stocky-spoon-28903

03/27/2019, 6:06 PM
@incalculable-angle-91273 the new relic provider has some… interesting… dependencies
I’m actually working on it this week
q

quaint-queen-45003

03/27/2019, 6:07 PM
oh nice! are you working to convert it to a native pulumi provider?
i

incalculable-angle-91273

03/27/2019, 6:08 PM
oh cool! keep us updated on your progress. Is there a github issue or anything that we could follow?
s

stocky-spoon-28903

03/27/2019, 6:09 PM
The issue is internal right now, but there should be a repo soon.
Unfortunately this is one of the harder ones to get right since the client SDK for new relic and the terraform provider have broken dependency trees
q

quaint-queen-45003

04/09/2019, 6:36 PM
any updates on this? hoping to stop maintaining alerts and such by hand 🙂
s

stocky-spoon-28903

04/10/2019, 2:33 PM
Yes! It’s actually ready to go ‘public’ now with a first release, as soon as someone in Seattle is awake to review!
q

quaint-queen-45003

04/10/2019, 3:23 PM
perfect! thank you!
can you point me to the docs for this? I'm struggling looking for them
did this get merged in yet?
Copy code
npm install @pulumi/newrelic
npm ERR! code E404
npm ERR! 404 Not Found: @pulumi/newrelic@*