Skip to content

fix(coderd_template): validate ACL roles - #400

Open
wyattfry wants to merge 2 commits into
coder:mainfrom
wyattfry:template-acl-role-validation
Open

fix(coderd_template): validate ACL roles#400
wyattfry wants to merge 2 commits into
coder:mainfrom
wyattfry:template-acl-role-validation

Conversation

@wyattfry

Copy link
Copy Markdown
Contributor

This adds plan-time validation for coderd_template ACL roles so Terraform rejects unsupported values before apply. Valid roles are admin and use, matching the Coder SDK constants. It also updates generated template docs to describe the accepted ACL role values.

@ethanndickson
ethanndickson self-requested a review July 28, 2026 10:49
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

Successfully merging this pull request may close these issues.

1 participant