terraform-provider-prismacloud icon indicating copy to clipboard operation
terraform-provider-prismacloud copied to clipboard

prismacloud_code_repositories data needed

Open landro opened this issue 2 years ago • 3 comments

Is your feature request related to a problem?

There is no way to retrieve code repository ids using terraform as of now

Describe the solution you'd like

We'd like you to provide a new prismacloud_code_repositories data lookup Apparently API provides capability: https://prisma.pan.dev/api/cloud/code/repositories/#tag/Repositories However, binding does not seem to provide it: https://github.com/PaloAltoNetworks/prisma-cloud-go

Describe alternatives you've considered

None really, since the number of code repos is massive

Additional context

Unable to provision user roles.

landro avatar Oct 14 '22 10:10 landro

:tada: Thanks for opening your first issue here! Welcome to the community!

Any progress here?

landro avatar Oct 28 '22 10:10 landro

@landro the Bridgecrew provider implements a repositories data source which should return the repo IDs you need. Have you tried this?

ftbrecordspan avatar Nov 02 '22 14:11 ftbrecordspan