[BUG]: Importing an internal repo still causes the provider to want to modify visibility from private to internal #2239
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
There should be no change.
Actual Behavior
The provider wants to update visibility from "private" to "internal" after refreshing state.
Terraform Version
Terraform 1.5.6
Affected Resource(s)
github_repository
Terraform Configuration Files
Steps to Reproduce
Simply run an import and then apply. Here's the GitHub UI for the internal repo:
Error Output
My organization doesn't allow changing repo visibility, even though it shouldn't need to be done.
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: