github_repository should have optional id field #744
Labels
Good first issue
Good for newcomers
r/repository
Status: Stale
Used by stalebot to clean house
Type: Feature
New feature or request
Affected Resource(s)
Feature Request
It is common to want to rename Github repositories but doing so using this provider can often lead to data loss for associated data e.g. issues, projects, labels.
Having a user specify an optional id field for each repository (which could be stored as a Repository Secret e.g. Terraform ID) would ensure that renames and reorders (when you have a list of repositories) would not cause data loss.
Alternatively if the ID/NodeID attributes in the gitHub-go library can be used to track the repositories instead of the name.
References
The text was updated successfully, but these errors were encountered: