salmon-australia-56314
10/12/2022, 9:06 PMgo mod tidy
go: finding module for package <http://github.com/hashicorp/terraform-exec/tfinstall|github.com/hashicorp/terraform-exec/tfinstall>
<http://github.com/myorg/pulumi-sdm/provider|github.com/myorg/pulumi-sdm/provider> imports
<http://github.com/strongdm/terraform-provider-sdm/sdm|github.com/strongdm/terraform-provider-sdm/sdm> tested by
<http://github.com/strongdm/terraform-provider-sdm/sdm.test|github.com/strongdm/terraform-provider-sdm/sdm.test> imports
<http://github.com/hashicorp/terraform-plugin-sdk/helper/resource|github.com/hashicorp/terraform-plugin-sdk/helper/resource> imports
<http://github.com/hashicorp/terraform-plugin-test/v2|github.com/hashicorp/terraform-plugin-test/v2> imports
<http://github.com/hashicorp/terraform-exec/tfinstall|github.com/hashicorp/terraform-exec/tfinstall>: module <http://github.com/hashicorp/terraform-exec@latest|github.com/hashicorp/terraform-exec@latest> found (v0.17.3), but does not contain package <http://github.com/hashicorp/terraform-exec/tfinstall|github.com/hashicorp/terraform-exec/tfinstall>
I went through some of the old PRs and re-added this line to go.mod
<http://github.com/hashicorp/terraform-exec|github.com/hashicorp/terraform-exec> => <http://github.com/hashicorp/terraform-exec|github.com/hashicorp/terraform-exec> v0.15.0
and then go mod tidy
works.
Although, after doing that, I tried to run make tfgen
and it fails with
no required module provides package <http://github.com/myorg/pulumi-sdm/provider/cmd/pulumi-tfgen-sdm;|github.com/myorg/pulumi-sdm/provider/cmd/pulumi-tfgen-sdm;> to add it:
go get <http://github.com/myorg/pulumi-sdm/provider/cmd/pulumi-tfgen-sdm|github.com/myorg/pulumi-sdm/provider/cmd/pulumi-tfgen-sdm>
This is probably a mixture of misunderstanding on my part and a dependency issue. I’d love some help/input if anyone has any ideas.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by