integrations / terraform-provider-github

Terraform GitHub provider
https://www.terraform.io/docs/providers/github/
MIT License
891 stars 736 forks source link

feat: data organization secret repositories #2247

Open moutonjeremy opened 5 months ago

moutonjeremy commented 5 months ago

Resolves no issue

This PR add a new data for retrieve the list of repositories of a secret of an organisation.


Before the change?

After the change?

Pull request checklist

Does this introduce a breaking change?

Please see our docs on breaking changes to help!


kfcampbell commented 5 months ago

Can you talk to me a little more about the use case for this and why you want to add it to the provider? In general, I'm a little wary of adding new resources/data sources without issues and discussion beforehand.

moutonjeremy commented 5 months ago

For my use case, we have a process to init/create (automatically) services (and repos) via a template but we must give access to a secret for each repo. The service creation process is independent for each service, so we cannot manage access to the secret in centralized mode, so we must know the previous state before making a modification. This is not an ideal situation.

moutonjeremy commented 4 months ago

Hello, will the PR be reviewed or will it be refused?