Thanks to visit codestin.com
Credit goes to github.com

Skip to content

expose workspace owner's group name in coder_workspace data source #7191

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

Closed
ericpaulsen opened this issue Apr 18, 2023 · 3 comments
Closed

Comments

@ericpaulsen
Copy link
Member

ericpaulsen commented Apr 18, 2023

a customer looking to pass in the workspace owner's group into the terraform template. we do not yet support this in the coder_workspace data source.

something akin to:

data "coder_workspace" "dev" {}

resource "kubernetes_pod" "dev" {
  env {
    name = CODER_USER_GROUP
    value = data.coder_workspace.dev.owner_group
  }
}
@github-actions github-actions bot added the stale This issue is like stale bread. label Oct 16, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2023
@ericpaulsen ericpaulsen reopened this Mar 4, 2024
@ericpaulsen
Copy link
Member Author

@ericpaulsen
Copy link
Member Author

this is blocking org-wide adoption at a major prospect. current state is limiting them to a single team. use-case:

they want to isolate groups to specific namespaces. multiple groups are assigned to a single template, but they want the template to deploy the pod into the user's group namespace (doing this via parameters, but can't validate group)

@github-actions github-actions bot removed the stale This issue is like stale bread. label Mar 5, 2024
@bpmct
Copy link
Member

bpmct commented Mar 28, 2024

Closing in favor of #8560

@bpmct bpmct closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
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

No branches or pull requests

2 participants