[BUG]: github_repository_collaborator import not working #1798
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Feature
New feature or request
Describe the need
The docs for a github_repository_collaborator resource specify the following import command for existing resources:
$ terraform import github_repository_collaborator.collaborator terraform:someuser
Source: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_collaborator
Expected behavior:
An existing collaborator
someuser
for the repoterraform
is imported into Terraform state without further configuration or any other dependent Terraform resources.Actual behavior:
The
terraform import
command fails withThe provider looks for outstanding invitations on the GitHub API.
This makes no sense, as this command should import existing, already invited collaborators.
TF_LOG=DEBUG
output:Steps to reproduce:
Try importing an existing, no outstanding invitation collaborator with the documented import command.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: