github-as-code
github-as-code copied to clipboard
GitHub Configuration as Code
As a consequence it doesn't create a plan with correct updates. See https://github.com/libp2p/github-mgmt/pull/135 for example.
Prerequisite: adding the prop on the repository resource in the tf provider
@dhuseby was added on April 5: https://github.com/libp2p/github-mgmt/pull/142 There was a sync during April 9: https://github.com/libp2p/github-mgmt/actions/runs/4647735487/jobs/8224899783 Sync worked as expected, ``` github_membership.this["dhuseby"]: Refreshing state... [id=libp2p:dhuseby] ``` The next Sync workflow, April...
We could use GitHub client with backoff policy to overcome this.
So do org invitiations... Could we remind people to do that in a PR?
The sync seems to break on refresh in such a scenario. I suspect we're not cleaning up state correctly.
Right now, terraform will happily propose creating team memberships for users who are not org members but that operation would fail on apply.
This would unblock workflow described in https://github.com/orgs/community/discussions/43951 REST API: https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28 TODO: - [ ] add support for configuration variables to terraform github provider