sparse-intern-71089
06/27/2019, 3:53 PMwhite-balloon-205
pulumi-terraform
which is linked into pulumi-azure
and other providers.
See for example: https://github.com/pulumi/pulumi-terraform/blob/018e686ef075981921d0fb19e71fc65a0db87b9a/pkg/tfbridge/schema.go#L403
To test changes here:
1. Make the changes in your local copy of pulumi-terraform
2. In pulumi-azure
run go mod edit -replace=<http://github.com/pulumi/pulumi-terraform=../pulumi-terraform/|github.com/pulumi/pulumi-terraform=../pulumi-terraform/>
3. Run make install
in pulumi-azure
4. From your example code, yarn link @pulumi/azure
to use the newly built version
This should result in using the latest Node package and provider binary in your test.tall-librarian-49374
06/27/2019, 4:07 PMtall-librarian-49374
06/27/2019, 8:14 PMpulumi/pulumi
, do I need to go mod edit -replace=<http://github.com/pulumi/pulumi=../pulumi/|github.com/pulumi/pulumi=../pulumi/>
from pulumi/azure
?white-balloon-205
tall-librarian-49374
06/27/2019, 8:51 PMmake install
gives me an error like here https://github.com/google/go-cloud/issues/1990tall-librarian-49374
06/27/2019, 8:51 PMambiguous import: found <http://github.com/Azure/go-autorest/tracing|github.com/Azure/go-autorest/tracing> in multiple modules
white-balloon-205
stocky-spoon-28903
06/27/2019, 9:03 PMtall-librarian-49374
06/28/2019, 7:35 AMreplace <http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> => <http://github.com/Azure/go-autorest|github.com/Azure/go-autorest> v11.1.2+incompatible
tall-librarian-49374
06/28/2019, 7:37 AMpulumi-terraform
wouldn't build with the latest pulumi/pulumi
, so I had to checkout pulumi@0.17.6 (the one from go.mod
in pulumi-terraform
).tall-librarian-49374
06/28/2019, 7:37 AMpulumi-azure
with modified code from pulumi/pulumi
.tall-librarian-49374
06/28/2019, 7:38 AM