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

feat: data organization secret repositories

Open moutonjeremy opened this issue 1 year ago • 3 comments
trafficstars

Resolves no issue

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


Before the change?

  • It's not possible to have the repositories list for a secret.

After the change?

  • Data action for get the repositories list for a secret

Pull request checklist

  • [X] Tests for the changes have been added (for bug fixes / features)
  • [X] Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • [ ] Yes
  • [X] No

moutonjeremy avatar May 01 '24 14:05 moutonjeremy

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.

kfcampbell avatar May 03 '24 17:05 kfcampbell

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 avatar May 06 '24 08:05 moutonjeremy

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

moutonjeremy avatar May 23 '24 14:05 moutonjeremy