-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
coderd_organization_group_sync_resource
coderd_organization_group_sync
resource
f7c7ea3
to
2fb0bd4
Compare
There was a problem hiding this 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.
Merge activity
|
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.