PaloAltoNetworks / terraform-provider-prismacloud

Terraform PrismaCloud provider
https://www.terraform.io/docs/providers/prismacloud/
Mozilla Public License 2.0
54 stars 65 forks source link

prismacloud_code_repositories data needed #161

Open landro opened 2 years ago

landro commented 2 years ago

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.

welcome-to-palo-alto-networks[bot] commented 2 years ago

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

landro commented 2 years ago

Any progress here?

ftbrecordspan commented 2 years ago

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