Open jamesgeddes opened 11 months ago
👋 Hey Friends, this issue has been automatically marked as stale
because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned
label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Expected Behavior
The error report should include some indication of what caused the error.
Actual Behavior
When adding many members to an org, only an
exit code 1
was returned. No other information was provided.Initially, I suspected that using OpenTofu might have been the root cause of the issue, so I switched to Terraform. However, the same problem persisted. The issue was only identified after manually reviewing each of the 60 members, where I found an error concerning the owner members. It turned out that their roles were incorrectly set as "owner" instead of "admin". Ideally, the provider should manage such discrepancies more effectively. It would be even more beneficial if the term "owner" was accepted by the provider, as this is the terminology used in the GUI. Offering a clear explanation of the problem in the usual error notification section, rather than terminating the process with an uninformative error code 1, would greatly enhance the user experience.
Terraform Version
Latest on both Terraform and OpenTofu
Affected Resource(s)
github_membership
Terraform Configuration Files
Steps to Reproduce
https://github.com/GeekZoneHQ/estate-config/actions/runs/7153880037/job/19480798209
Debug Output