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

Skip to content

Validate enterprise-only fields during plan #61

Closed
@ethanndickson

Description

@ethanndickson

Currently, if a user sets an enterprise-only attribute, such as allow_user_autostart to false on a coderd_template, on an AGPL deployment, the resource will be created as coderd does not return an error. However, when the provider goes to read the state of the resource, it will note a state mismatch (as the field is always true for AGPL deployments), and report a provider error. This is very much confusing for users. Ideally, we should return a validation error forbidding this during a plan.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions