Skip to content

expose Coder objects in the terraform provider #9948

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
8 tasks done
ericpaulsen opened this issue Sep 29, 2023 · 3 comments
Closed
8 tasks done

expose Coder objects in the terraform provider #9948

ericpaulsen opened this issue Sep 29, 2023 · 3 comments
Assignees
Labels
customer-requested Features requested by enterprise customers. Only humans may set this. enterprise Enterprise-license / premium functionality use-case A novel and interesting way to use Coder

Comments

@ericpaulsen
Copy link
Member

ericpaulsen commented Sep 29, 2023

multiple customers have inquired about creating the following objects using our Terraform provider:

  • users
  • groups
  • template/group RBAC mapping

a common theme across these customers: Terraform is used to configure all of their applications, so they'd like Coder to be fully configurable as code.

Edit: This is the feature-set of the new coderd provider.

Tasks:

@ericpaulsen ericpaulsen added feature use-case A novel and interesting way to use Coder labels Sep 29, 2023
@bpmct
Copy link
Member

bpmct commented Oct 4, 2023

Nice. We don't have any short-term plans to make it so that people can provision Coder users, groups, or permissions with Terraform.

With group and role sync, the identity provider becomes the source of truth for authentication and authorization. I believe this should probably remain the case, versus it being done via Terraform, but Terraform can be used to deploy Coder with group sync enabled with coder server environment variables.

One side-effect is, sadly, that an initial admin user has to be created via some sort of script. It can be immediately deleted though. We should make that story better.

We don't have a good solution for codifying template permissions mapping though. Right now, sadly, a script is probably the best bet

@github-actions github-actions bot added the stale This issue is like stale bread. label Apr 2, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
@ericpaulsen ericpaulsen reopened this Apr 10, 2024
@coder-labeler coder-labeler bot added customer-requested Features requested by enterprise customers. Only humans may set this. enterprise Enterprise-license / premium functionality labels Apr 10, 2024
@ericpaulsen
Copy link
Member Author

re-opening - as this is a major point of feedback from customers.

@matifali matifali removed the stale This issue is like stale bread. label Apr 10, 2024
@johnstcn johnstcn added the needs-rfc Issues that needs an RFC due to an expansive scope and unclear implementation path. label Apr 19, 2024
@johnstcn johnstcn self-assigned this Apr 19, 2024
@johnstcn johnstcn removed the needs-rfc Issues that needs an RFC due to an expansive scope and unclear implementation path. label May 28, 2024
@matifali
Copy link
Member

matifali commented May 29, 2024

I would suggest developing the new coderd provider with https://developer.hashicorp.com/terraform/plugin/framework so that we do not have to migrate it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-requested Features requested by enterprise customers. Only humans may set this. enterprise Enterprise-license / premium functionality use-case A novel and interesting way to use Coder
Projects
None yet
Development

No branches or pull requests

6 participants