Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add owner groups to workspace data#12841

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
f0ssel merged 19 commits intomainfromf0ssel/owner-groups
Apr 5, 2024
Merged

Conversation

f0ssel
Copy link
Contributor

@f0sself0ssel commentedApr 1, 2024
edited
Loading

Closes#8560

With this change you can now usecoder_workspace.me.owner_groups in terraform templates and get a list of groups the owner is in.

As a practical test, I addedMY_GROUPS = jsonencode(data.coder_workspace.me.owner_groups) to the ENV block of the coder agent and built a workspace:
Screenshot 2024-04-03 at 1 03 46 PM

bpmct reacted with thumbs up emoji
@f0sself0ssel marked this pull request as ready for reviewApril 3, 2024 17:22
@f0sself0ssel requested review fromkylecarbs andsreyaApril 3, 2024 17:22
@f0sself0ssel requested review fromEmyrk andsreyaApril 4, 2024 17:51
@f0sself0ssel merged commitf96ce80 intomainApr 5, 2024
@f0sself0ssel deleted the f0ssel/owner-groups branchApril 5, 2024 19:06
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 5, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@sreyasreyasreya approved these changes

@EmyrkEmyrkEmyrk approved these changes

@kylecarbskylecarbsAwaiting requested review from kylecarbs

Assignees

@f0sself0ssel

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Return user's groups as a Terraform data source for templates
3 participants
@f0ssel@sreya@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp