Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource: EMU External Groups Sync #1094

Merged
merged 22 commits into from
May 2, 2022
Merged

Conversation

kfcampbell
Copy link
Member

@kfcampbell kfcampbell commented Mar 18, 2022

Fixes #1041.

This PR is ready to be merged as this hack is no longer necessary. I filed an issue internally about the discrepancy in what the API is returning for its time formats and that bug has now been fixed.

When I sat down to write integration tests for this, I realized that we don't have a good solution for integration testing EMUs, which is testing another integration (between GitHub and identity providers). Our current integration testing infra isn't exactly healthy, and this would be an extension of that. Long-term, that needs to change.

github/provider.go Outdated Show resolved Hide resolved
@kfcampbell kfcampbell marked this pull request as ready for review April 28, 2022 18:53
@kfcampbell
Copy link
Member Author

Going to merge this to create an alpha release for the EMUs feature. The changes should be purely additive and not affect other resources.

kfcampbell added a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
* Initial commit of testing emus

* Initial commit of creating EMU group mapping

* Add read and delete operations

* Tweaks to make updating work

* Refactor coercion into reusable function

* Simplify case logic

* Add import logic

* Whitespace change to test commit verification

* Rework importation logic a bit

* Bump to go-github v43 in EMU resource

* Removing some extraneous whitespaces

* Import logic mostly working

* Fully fix import logic

* Add docs and doc link

* Remove time.Sleep

* Remove vendoring hack as bug has been fixed

* Remove extraneous comment in examples/emu
kazaker pushed a commit to auto1-oss/terraform-provider-github that referenced this pull request Dec 28, 2022
* Initial commit of testing emus

* Initial commit of creating EMU group mapping

* Add read and delete operations

* Tweaks to make updating work

* Refactor coercion into reusable function

* Simplify case logic

* Add import logic

* Whitespace change to test commit verification

* Rework importation logic a bit

* Bump to go-github v43 in EMU resource

* Removing some extraneous whitespaces

* Import logic mostly working

* Fully fix import logic

* Add docs and doc link

* Remove time.Sleep

* Remove vendoring hack as bug has been fixed

* Remove extraneous comment in examples/emu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resource "github_team_sync_group_mapping" getting the error "403 This team is not externally managed"
1 participant