Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prismacloud_code_repositories data needed #161

Open
landro opened this issue Oct 14, 2022 · 3 comments
Open

prismacloud_code_repositories data needed #161

landro opened this issue Oct 14, 2022 · 3 comments

Comments

@landro
Copy link

landro commented Oct 14, 2022

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

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

@landro
Copy link
Author

landro commented Oct 28, 2022

Any progress here?

@ftbrecordspan
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants