GitHub Org name needs to be set otherwise PATCH will show HTTP 422 Validation Failed [] #271
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
What happened?
In https://www.pulumi.com/registry/packages/github/api-docs/organizationsettings/ , I didn't see anywhere mentions that org name needs to be set. If not set, pulumi-github will generate a random name that GitHub/GitHub Enterprise will reject with HTTP 422 when doing
pulumi up
.Steps to reproduce
Create a GitHub org with
Organization display name
unset, do apulumi import
and afterwards runpulumi up
, it will show some error like belowExpected Behavior
It should import successfully.
Or this should be mentioned in the documentation as a prerequisite. Instead of leaving it to the users to figure it out.
Or HTTP 422 Validation Failed [] should output a meaningful error message.
Actual Behavior
It keeps showing HTTP 422 Validation Failed []
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: