You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
As a reference, you can check how JFrog artifactory provider handles this. They check for licenses during provider initialization and do not work without a valid license.
Important
They are using SDKv2 and not the terraform plugin framework.
Currently, if a user sets an enterprise-only attribute, such as
allow_user_autostart
to false on acoderd_template
, on an AGPL deployment, the resource will be created ascoderd
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 aplan
.The text was updated successfully, but these errors were encountered: