coder / coder/terraform-provider-coder

New `template` sharing option for `coder_app`s

Open
#236 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
60
Forks
27
Avg merge
1d 21h
Merged PRs (30d)
2

Description

Some users want to share `coder_app`s with a specific group or users, rather than all authenticated users on a deployment. We should support this with a new `"template"` [share attribute](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/app#share) for `coder_app`s.

This would open the app to any users who are granted access to the template. While this is a slightly convoluted method of sharing with groups, it best aligns with our current RBAC.

`hcl resource "coder_app" "vim" { agent_id = coder_agent.dev.id slug = "vim" ... share = "template" } `

Related: [https://github.com/coder/coder/issues/13361](https://github.com/coder/coder/issues/13361)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.