Skip to content

feat: add coderd_organization_group_sync resource #248

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

Merged
merged 3 commits into from
Aug 19, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Aug 15, 2025

Fixes #230.

To avoid users running into circular dependency issues with the group_sync block, we'll deprecate the block and add a resource solely for configuring organization group sync.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson requested a review from Copilot August 15, 2025 06:33
Copilot

This comment was marked as resolved.

@ethanndickson ethanndickson self-assigned this Aug 15, 2025
@ethanndickson ethanndickson changed the title feat: add coderd_organization_group_sync_resource feat: add coderd_organization_group_sync resource Aug 15, 2025
@ethanndickson ethanndickson marked this pull request as ready for review August 15, 2025 06:51
@ethanndickson ethanndickson force-pushed the ethan/group-sync-resource branch from f7c7ea3 to 2fb0bd4 Compare August 15, 2025 06:54
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at the code again, I'm remembering the main motivation for making this a nested block: you can only have exactly one group sync config per organization. managing it by a resource instead means that you could theoretically specify multiple of them pointing at the same org, which would be a logic error and produce inconsistent behavior. :\

it's unfortunate that having it as a nested block doesn't work.

Copy link
Member Author

ethanndickson commented Aug 19, 2025

Merge activity

  • Aug 19, 12:31 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 19, 12:31 AM UTC: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit 399bfa7 into main Aug 19, 2025
14 checks passed
@ethanndickson ethanndickson deleted the ethan/group-sync-resource branch August 19, 2025 00:31
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.

Managing GroupSync and Organizations
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy