PaloAltoNetworks / terraform-provider-prismacloud-orig

Terraform provider for Prisma Cloud
Mozilla Public License 2.0
11 stars 7 forks source link

Missing prisma-cloud-go clone instruction for setup #1

Closed zimmermanc closed 4 years ago

zimmermanc commented 4 years ago

Documentation link

https://github.com/PaloAltoNetworks/terraform-provider-prismacloud/blob/master/README.md

Describe the problem

~/go/src/github.com/terraform-providers/terraform-provider-prismacloud$ make build ==> Checking that code complies with gofmt requirements... go install go: github.com/paloaltonetworks/prisma-cloud-go@v0.0.0-20200327180535-f648dce6b742: parsing ../prisma-cloud-go/go.mod: open /home/zimmermanc/go/src/github.com/terraform-providers/prisma-cloud-go/go.mod: no such file or directory GNUmakefile:9: recipe for target 'build' failed make: *** [build] Error 1

Suggested fix

Add git clone https://github.com/PaloAltoNetworks/prisma-cloud-go.git

shinmog commented 4 years ago

@zimmermanc

This is a temporary issue because of the redirect in the go.mod file that assumes you've git cloneed the prisma-cloud-go repo, and they share the same parent directory. When this is ready to be released, dependencies will be vendor'ed in, so this won't be an issue. :)

shinmog commented 4 years ago

Dependencies are now vendored in, closing this issue.